login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120804 Primes with consecutive digits descending. 4
2, 3, 5, 7, 43, 76543, 4321098765432109876543210987654321098765432109876543210987654321, 43210987654321098765432109876543210987654321098765432109876543210987654321098765432109876543210987654321098765432109876543210987654321098765432109876543210987654321098765432109 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Digits can be in descending order. After 0 comes 9.

MATHEMATICA

f[n_] := Block[{d = Reverse@ Range@n, t = Table[1, {n}]}, Select[ Drop[ Union@ Flatten@ Table[ FromDigits[ Mod[d + i*t, 10]], {i, 10}], 2], PrimeQ@# &]]; Array[f, 1000] // Flatten

CROSSREFS

Cf. A006055, A120805.

Sequence in context: A092066 A028981 A052016 * A171020 A178237 A118842

Adjacent sequences:  A120801 A120802 A120803 * A120805 A120806 A120807

KEYWORD

nonn,base

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Jul 05 2006

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 16 06:27 EST 2012. Contains 205860 sequences.