The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A043521 Numbers having one 8 in base 10. 12
 8, 18, 28, 38, 48, 58, 68, 78, 80, 81, 82, 83, 84, 85, 86, 87, 89, 98, 108, 118, 128, 138, 148, 158, 168, 178, 180, 181, 182, 183, 184, 185, 186, 187, 189, 198, 208, 218, 228, 238, 248, 258, 268, 278, 280, 281, 282, 283, 284, 285, 286, 287, 289, 298, 308, 318 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Enrique PĂ©rez Herrero, Table of n, a(n) for n = 1..2000 MATHEMATICA Select[Range[300], DigitCount[#, 10, 8]==1&] (* Harvey P. Dale, Jan 06 2012 *) PROG (PARI) is(n)=my(d=digits(n)); sum(i=1, #d, d[i]==8)==1 \\ Charles R Greathouse IV, Feb 12 2017 (Python) def ok(n): return str(n).count('8') == 1 print(list(filter(ok, range(320)))) # Michael S. Branicky, Aug 18 2021 CROSSREFS Subsequence of A011538. Cf. A043489, A043493, A043497, A043501, A043505, A043509, A043513, A043517, A043525, A011538. Sequence in context: A248015 A011538 A283611 * A277595 A017365 A084394 Adjacent sequences:  A043518 A043519 A043520 * A043522 A043523 A043524 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified September 27 21:12 EDT 2021. Contains 347698 sequences. (Running on oeis4.)