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

A276138
Numbers without the decimal digits 1, 3, 5 and 7.
2
0, 2, 4, 6, 8, 9, 20, 22, 24, 26, 28, 29, 40, 42, 44, 46, 48, 49, 60, 62, 64, 66, 68, 69, 80, 82, 84, 86, 88, 89, 90, 92, 94, 96, 98, 99, 200, 202, 204, 206, 208, 209, 220, 222, 224, 226, 228, 229, 240, 242, 244, 246, 248, 249, 260, 262, 264, 266
OFFSET
1,2
LINKS
FORMULA
a(6n-6+k) = 10 a(n) + a(k) for k = 1..6. - Robert Israel, Aug 24 2016
MAPLE
S:= [0]:
for d from 1 to 4 do S:= map(t -> seq(10*t+i, i=[0, 2, 4, 6, 8, 9]), S) od:
S; # Robert Israel, Aug 24 2016
MATHEMATICA
Select[Select[Select[Select[Range[0, 400], FreeQ[IntegerDigits@#, 1] &], FreeQ[IntegerDigits@#, 3] &], FreeQ[IntegerDigits@#, 5] &], FreeQ[IntegerDigits@#, 7] &]
PROG
(Magma) [n: n in [0..500] | IsEmpty(Set([1, 3, 5, 7]) meet Set(Intseq(n)))];
CROSSREFS
Sequence in context: A156759 A340609 A340606 * A114973 A004522 A004521
KEYWORD
nonn,base,easy
AUTHOR
Vincenzo Librandi, Aug 22 2016
STATUS
approved