login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A011534 Numbers that contain a 4. 28
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Feb 12 2017
MATHEMATICA
Select[Range[200], DigitCount[#, 10, 4]>0 &] (* Vincenzo Librandi, Feb 14 2017 *)
PROG
(PARI) is(n)=!!setsearch(Set(digits(n)), 4) \\ Charles R Greathouse IV, Feb 12 2017
(GAP) Filtered([1..260], n->4 in ListOfDigits(n)); # Muniru A Asiru, Feb 23 2019
CROSSREFS
Numbers that contain a digit k: A011531 (k=1), A011532 (k=2), A011533 (k=3), A011535 (k=5), A011536 (k=6), A011537 (k=7), A011538 (k=8), A011539 (k=9), A011540 (k=0).
Sequence in context: A213399 A031254 A031224 * A277966 A043505 A277591
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)