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

A011536
Numbers that contain a 6.
29
6, 16, 26, 36, 46, 56, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 76, 86, 96, 106, 116, 126, 136, 146, 156, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 176, 186, 196, 206, 216, 226, 236, 246, 256, 260, 261, 262, 263, 264, 265, 266, 267, 268
OFFSET
1,1
COMMENTS
These might be called "sexy" (or "sextic") numbers. - Cino Hilliard, Nov 28 2008
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Nov 02 2022
MATHEMATICA
Select[Range[300], DigitCount[#, 10, 6]>0 &] (* Vincenzo Librandi, Feb 15 2017 *)
PROG
(PARI) is(n)=!!setsearch(Set(digits(n)), 6) \\ Charles R Greathouse IV, Feb 12 2017
(Magma) [n: n in [0..500] | 6 in Intseq(n) ]; // Vincenzo Librandi, Feb 15 2017
(GAP) Filtered([1..270], n->6 in ListOfDigits(n)); # Muniru A Asiru, Feb 24 2019
CROSSREFS
Sequence in context: A369886 A171440 A031220 * A283609 A043513 A277593
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved