|
Search: id:A120827
|
|
|
| A120827 |
|
Primes with n consecutive digits ascending beginning with the digit nine. |
|
+0 9
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Digits are in ascending order beginning with 9 and after 9 comes 0.
The sequence "Primes with n consecutive digits descending beginning with the digit nine" has no terms.
There is no further term up to 26000. - Farideh Firoozbakht (mymontain(AT)yahoo.com), Sep 11 2006
|
|
EXAMPLE
|
13 is a term since 9012345678901 is a prime.
|
|
MATHEMATICA
|
fQ[n_] := PrimeQ@ FromDigits@ Mod[8+Range@n, 10]; lst = {}; Do[ If[fQ@n, AppendTo[lst, n]; Print@n], {n, 5000}]; lst
|
|
CROSSREFS
|
Cf. A006055, A120819, A120820, A120821, A120822, A120823, A120824, A120825, A120826.
Adjacent sequences: A120824 A120825 A120826 this_sequence A120828 A120829 A120830
Sequence in context: A036974 A045472 A141293 this_sequence A044074 A044455 A082285
|
|
KEYWORD
|
base,bref,hard,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 05 2006
|
|
|
Search completed in 0.008 seconds
|