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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082555 Primes whose base 3 representation does not contain a 0. 4
2, 5, 7, 13, 17, 23, 41, 43, 53, 67, 71, 79, 131, 149, 151, 157, 211, 229, 233, 239, 241, 367, 373, 401, 449, 457, 607, 617, 619, 643, 647, 691, 701, 719, 727, 1093, 1097, 1103, 1123, 1129, 1187, 1201, 1213, 1367, 1373, 1427, 1429, 1447, 1453, 1823, 1831, 1861 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Primes in A032924. - Robert Israel, Dec 28 2018

LINKS

Robert Israel, Table of n, a(n) for n = 1..10000

EXAMPLE

41 = 1112 (base 3), which contains no 0.

MAPLE

select(t -> isprime(t) and not(has(convert(t, base, 3), 0)), [2, seq(i, i=5..10000, 2)]); # Robert Israel, Dec 28 2018

PROG

(PARI) dec3(s)=while(s>0, if(s%3==0, return(0), s=floor(s/3))); return(1)

forprime(i=1, 20000, if(dec3(i)==1, print1(i, ", "), ))

CROSSREFS

Cf. A032924, A073779, A077267.

Sequence in context: A107426 A222532 A144256 * A160794 A092059 A260388

Adjacent sequences:  A082552 A082553 A082554 * A082556 A082557 A082558

KEYWORD

base,nonn

AUTHOR

Randy L. Ekl, May 03 2003

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 August 23 11:24 EDT 2019. Contains 326222 sequences. (Running on oeis4.)