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

A276137
Numbers without the decimal digits 2, 4, 6 and 8.
3
0, 1, 3, 5, 7, 9, 10, 11, 13, 15, 17, 19, 30, 31, 33, 35, 37, 39, 50, 51, 53, 55, 57, 59, 70, 71, 73, 75, 77, 79, 90, 91, 93, 95, 97, 99, 100, 101, 103, 105, 107, 109, 110, 111, 113, 115, 117, 119, 130, 131, 133, 135, 137, 139, 150, 151, 153, 155, 157
OFFSET
1,3
MATHEMATICA
Select[Select[Select[Select[Range[0, 400], FreeQ[IntegerDigits@#, 2] &], FreeQ[IntegerDigits@#, 4] &], FreeQ[IntegerDigits@#, 6] &], FreeQ[IntegerDigits@#, 8] &]
PROG
(Magma) [n: n in [0..500] | IsEmpty(Set([2..8 by 2]) meet Set(Intseq(n)))];
(PARI) my(table=[0, 1, 3, 5, 7, 9]); a(n) = fromdigits(apply(d->table[d+1], digits(n-1, 6))); \\ Kevin Ryde, Jun 26 2021
CROSSREFS
Cf. A096844 (with at least one 0 digit).
Subsequence of A168501.
Sequence in context: A091066 A277599 A103848 * A079377 A186379 A186381
KEYWORD
nonn,base,easy
AUTHOR
Vincenzo Librandi, Aug 22 2016
STATUS
approved