login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A052016
Primes with digits in descending order that differ exactly by 1.
5
2, 3, 5, 7, 43, 76543
OFFSET
1,1
COMMENTS
Primes in A138142. - Omar E. Pol, Dec 07 2008
MATHEMATICA
fQ[n_]:=Module[{id=IntegerDigits[n], }, n < 10 || Union[Differences[id]] == {-1}]; Select[Prime[Range[10000]], fQ] (* Vladimir Joseph Stephan Orlovsky, Dec 29 2010 *)
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Patrick De Geest, Nov 15 1999
STATUS
approved