|
Search: id:A120826
|
|
|
| A120826 |
|
Primes with n consecutive digits ascending beginning with the digit eight. |
|
+0 9
|
| |
|
|
OFFSET
|
1,1
|
|
|
COMMENT
|
Digits are in ascending order beginning with 8 and after 9 comes 0.
The sequence "Primes with n consecutive digits descending beginning with the digit eight" has no terms.
|
|
EXAMPLE
|
2 is a term since 89 is a prime.
|
|
MATHEMATICA
|
fQ[n_] := PrimeQ@ FromDigits@ Mod[7+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, A120827.
Sequence in context: A123177 A090603 A020955 this_sequence A061994 A093666 A063270
Adjacent sequences: A120823 A120824 A120825 this_sequence A120827 A120828 A120829
|
|
KEYWORD
|
base,bref,hard,nonn
|
|
AUTHOR
|
Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 05 2006
|
|
|
Search completed in 0.002 seconds
|