|
|
A120821
|
|
Primes with n consecutive ascending digits beginning with the digit three.
|
|
9
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Digits are in ascending order beginning with 3 and after 9 comes 0.
The sequence "Primes with n consecutive descending digits beginning with the digit three" has only one term, 1 which represents the prime 3.
|
|
LINKS
|
|
|
MATHEMATICA
|
fQ[n_] := PrimeQ@ FromDigits@ Mod[2+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,bref,hard,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|