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”).

A181173
Primes whose base 5 representation does not contain a 0.
1
2, 3, 7, 11, 13, 17, 19, 23, 31, 37, 41, 43, 47, 59, 61, 67, 71, 73, 83, 89, 97, 107, 109, 113, 157, 163, 167, 173, 181, 191, 193, 197, 199, 211, 223, 233, 239, 241, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 359, 367, 373, 409, 419, 421, 431, 433
OFFSET
1,1
EXAMPLE
23 = 43 (base 5) which contains no 0.
MAPLE
The following stores the first 200 digits of the sequence in K: for i from 1 to 200 do if i=i then x[i]:=convert(ithprime(i), base, 5) else x[i]:=0 end if: end do: S:={}: for i from 1 to 200 do if evalb(`in`(0, x[i]))=false then S:=S union {i} fi od; for i from 1 to nops(S)do z[i]:=ithprime(S[i]) od: K:=[seq((z[i]), i=1..nops(S))];
CROSSREFS
Cf. A082555.
Sequence in context: A086339 A333364 A332787 * A216277 A089174 A321700
KEYWORD
base,nonn
AUTHOR
STATUS
approved