login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A160402 Primes made up of all distinct digits except 0 and 1. 5
23456789, 23458679, 23459687, 23465789, 23465987, 23469587, 23475869, 23478569, 23489657, 23495867, 23496587, 23498567, 23546879, 23546987, 23548697, 23564897, 23564987, 23567849, 23569487, 23576489, 23584679, 23587649, 23589647, 23594687 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

More precisely, "primes made up of all distinct digits from 2 to 9, each occurring once." Since this restricts the number of digits to 8, the sequence is finite.

The last term of this sequence is a(3098) = 98745623. - Nathaniel Johnston, Jun 24 2011

Also numbers n such that the list of divisors of n contains all the digits 1-9 and each digit appears exactly once (in base 10). There are no composite numbers with this property. Numbers n such that A243360(n) = 987654321. - Jaroslav Krizek, Jun 19 2014

LINKS

Nathaniel Johnston, Table of n, a(n) for n = 1..3098 (full sequence)

MAPLE

A160402:={}: p:=23456789: while p<=98765432 do d:=convert(p, base, 10): ddig:=true: for k from 0 to 9 do if((k<=1 and numboccur(k, d)>0) or (k>=2 and numboccur(k, d)<>1))then ddig:=false:break: fi: od: if(ddig)then A160402:=A160402 union {p}: fi: p:=nextprime(p): od: op(sort(convert(A160402, list))); # Nathaniel Johnston, Jun 24 2011

PROG

(Magma) [n: n in [1..100000000] | Seqint(Sort(&cat[(Intseq(k)): k in Divisors(n)])) eq 987654321] // Jaroslav Krizek, Jun 19 2014

CROSSREFS

Cf. A029743, A106116. Subsequence of A074665.

Sequence in context: A252396 A236366 A097617 * A243364 A104951 A235971

Adjacent sequences: A160399 A160400 A160401 * A160403 A160404 A160405

KEYWORD

nonn,fini,full,base

AUTHOR

Lekraj Beedassy, May 13 2009

EXTENSIONS

Keywords "base,fini" added by R. J. Mathar, May 14 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 28 10:39 EST 2023. Contains 359859 sequences. (Running on oeis4.)