|
|
A215802
|
|
Prime numbers p such that the repunit number (10^p - 1)/9 can be written in the form a^2 + 3*b^2.
|
|
1
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
These (10^p - 1)/9 numbers have no prime factors of the form 2 (mod 3) to an odd power.
|
|
LINKS
|
|
|
EXAMPLE
|
(10^19 - 1)/9 = 360004294^2 + 3*571987185^2.
|
|
PROG
|
(PARI) forprime(i=2, 100, a=factorint(10^i-1)/9~; has=0; for(j=1, #a, if(a[1, j]%3==2&&a[2, j]%2==1, has=1; break)); if(has==0, print(i" -\t"a[1, ])))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|