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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156221 Primes that can be represented with the digits {3,1,4,1,5,9}. 1
3, 5, 11, 13, 19, 31, 41, 43, 53, 59, 113, 131, 139, 149, 151, 191, 193, 311, 349, 359, 419, 431, 439, 491, 541, 593, 911, 941, 953, 1153, 1193, 1319, 1439, 1451, 1453, 1459, 1493, 1531, 1543, 1549, 1913, 1931, 1951, 3119, 3191, 3491, 3511, 3541, 3911, 4139 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Digits 3,4,5,9 can be used no more than once; 1 can be used no more than twice.

Sequence is finite, ending with a(221) = 954131.

LINKS

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

MAPLE

A156221:={}: occ:=[0, 2, 0, 1, 1, 1, 0, 0, 0, 1]: p:=2: while p<=954311 do cordig:=true: for k from 1 to 10 do d:=convert(p, base, 10): if(numboccur(k-1, d)>occ[k])then cordig:=false:break: fi: od: if(cordig)then A156221:=A156221 union {p}: fi: p:=nextprime(p): od: op(sort(convert(A156221, list))); # Nathaniel Johnston, Jun 24 2011

CROSSREFS

Sequence in context: A175865 A001122 A152871 * A207325 A295243 A179017

Adjacent sequences:  A156218 A156219 A156220 * A156222 A156223 A156224

KEYWORD

nonn,base,fini,full

AUTHOR

Ki Punches, Feb 06 2009

EXTENSIONS

Edited and corrected by Ray Chandler, Feb 08 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 19 04:40 EDT 2019. Contains 328211 sequences. (Running on oeis4.)