|
|
A215803
|
|
Numbers k such that the repunit number (10^k - 1)/9 can be written in the form a^2 + 3*b^2.
|
|
1
|
|
|
1, 3, 9, 19, 27, 57, 73, 81, 171, 219, 223, 243, 331, 379
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
These numbers have no prime factors congruent to 2 (mod 3) raised to an odd power.
|
|
LINKS
|
|
|
EXAMPLE
|
(10^19 - 1)/9 = 360004294^2 + 3*571987185^2.
|
|
PROG
|
(PARI) for(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,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
a(1)=1 inserted and seven more terms from V. Raman, Aug 28 2012
|
|
STATUS
|
approved
|
|
|
|