OFFSET
1,1
LINKS
WonTae Hwang and Kyunghwan Song, Absolutely simple polarized abelian varieties of odd Sophie Germain prime dimension over finite fields with maximal automorphism groups, arXiv:2002.12353 [math.NT], 2020. See Lemma 3.1.
EXAMPLE
For g=A005384(1)=2, 2g+1 is 5, we have 29 = 9 + 5*4 and 29 != 5, and 29 mod 5 != 1.
PROG
(PARI) f(g) = {my(p = 2); while (1, my(s = 1); while(s^2 < p/(2*g+1), if (issquare(p - (2*g+1)*s^2), if ((p != 2*g+1) && (Mod(p, 2*g+1) != 1), return(p); ); ); s++; ); p = nextprime(p+1); ); }
lista(nn) = {forprime(g=2, nn, if (isprime(2*g+1), print1(f(g), ", ")); ); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Mar 03 2020
STATUS
approved