|
|
A108834
|
|
Primes such that the outer 2 digits are n and n-1 and all inner digits are 6, where 0 < n < 9.
|
|
0
|
|
|
463, 4663, 46663, 4666663, 46666663, 466666663, 4666666666663, 466666666666666666666663, 466666666666666666666666666666666666666666666666666666666663, 4666666666666666666666666666666666666666666666666666666666666666666666666663
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
n has to be 2, 4, or 8, but it appears that n may always be 4. This is true up to a(14) which has 761 digits. - Harvey P. Dale, Oct 05 2022
|
|
LINKS
|
|
|
MATHEMATICA
|
Select[Flatten[Table[10 FromDigits[PadRight[{d}, n, 6]]+d-1, {n, 2, 80}, {d, {2, 4, 8}}]], PrimeQ] (* Harvey P. Dale, Oct 05 2022 *)
|
|
PROG
|
(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-1; if(isprime(y), print1(y", ")) ) ) }
|
|
CROSSREFS
|
|
|
KEYWORD
|
easy,nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|