|
|
A159031
|
|
Primes of the form "1 [0]_n 7" - with zeros between 1 and 7.
|
|
12
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
EXAMPLE
|
1000000000000000000000007 is a prime with 23 zeros between 1 and 7.
|
|
MATHEMATICA
|
Do[ If[ PrimeQ[10^n + 7], Print[10^n + 7]], {n, 100}] (* Robert G. Wilson v, Apr 05 2009 *)
Select[Table[FromDigits[Join[{1}, PadRight[{}, n, 0], {7}]], {n, 0, 120}], PrimeQ] (* Harvey P. Dale, Nov 12 2011 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|