|
Search: id:A108842
|
|
|
| A108842 |
|
Primes such that the outer 2 digits are n and all inner digits are 5, where 0 < n < 9. |
|
+0 1
|
|
| 151, 353, 757, 15551, 75557, 355555553, 75555555557, 155555555555555555551, 755555555555555555557, 75555555555555555555557, 155555555555555555555555555555551
(list; graph; listen)
|
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
These primes are palindromic.
|
|
PROGRAM
|
(PARI) n10np1(n, d) = { local(x, y, k); for(x=1, n, for(k=1, 8, y=10^(x+1)*k+floor(10^x*d/9)*10+k; if(isprime(y), print1(y", ")) ) ) }
|
|
CROSSREFS
|
Sequence in context: A031893 A118494 A140022 this_sequence A078858 A078967 A089317
Adjacent sequences: A108839 A108840 A108841 this_sequence A108843 A108844 A108845
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
Cino Hilliard (hillcino368(AT)gmail.com), Jul 11 2005
|
|
|
Search completed in 0.002 seconds
|