login
A215805
Prime numbers p such that 10^p + 1 can be written in the form a^2 + 2*b^2.
1
5, 7, 13, 19, 29, 31, 43, 53, 61, 67, 71, 179, 239, 263, 269, 293
OFFSET
1,1
COMMENTS
These numbers have no prime factors of the form 5 or 7 (mod 8) to an odd power.
LINKS
Samuel S. Wagstaff, Jr., The Cunningham Project, Factorizations of 2^n-1, for odd n's < 1200.
PROG
(PARI) forprime(i=2, 100, a=factorint(10^i+1)~; has=0; for(j=1, #a, if(a[1, j]%8>4&&a[2, j]%2==1, has=1; break)); if(has==0&&i%2==1, print(i" -\t"a[1, ])))
CROSSREFS
KEYWORD
nonn
AUTHOR
V. Raman, Aug 23 2012
EXTENSIONS
5 more terms from V. Raman, Aug 29 2012
STATUS
approved