A011534 Numbers that contain a 4.
4, 14, 24, 34, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 54, 64, 74, 84, 94, 104, 114, 124, 134, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 154, 164, 174, 184, 194, 204, 214, 224, 234, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 254
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..6878
- Index entries for 10-automatic sequences.
Crossrefs
Programs
-
GAP
Filtered([1..260],n->4 in ListOfDigits(n)); # Muniru A Asiru, Feb 23 2019
-
Mathematica
Select[Range[200], DigitCount[#, 10, 4]>0 &] (* Vincenzo Librandi, Feb 14 2017 *)
-
PARI
is(n)=!!setsearch(Set(digits(n)), 4) \\ Charles R Greathouse IV, Feb 12 2017
Formula
a(n) ~ n. - Charles R Greathouse IV, Feb 12 2017