login
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