|
Search: id:A120821
|
|
|
| A120821 |
|
Primes with n consecutive digits ascending beginning with the digit three. |
|
+0 9
|
| |
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
Digits are in ascending order beginning with 3 and after 9 comes 0.
The sequence "Primes with n consecutive digits descending beginning with the digit three" has only one term, 1 which represents the prime 3.
|
|
MATHEMATICA
|
fQ[n_] := PrimeQ@ FromDigits@ Mod[2+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 10000}]; lst
|
|
CROSSREFS
|
Cf. A006055, A120819, A120820, A120822, A120823, A120824, A120825, A120826, A120827.
Sequence in context: A162163 A062651 A142611 this_sequence A142855 A069796 A142968
Adjacent sequences: A120818 A120819 A120820 this_sequence A120822 A120823 A120824
|
|
KEYWORD
|
base,bref,hard,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 05 2006
|
|
|
Search completed in 0.002 seconds
|