[go: up one dir, main page]

login
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