OFFSET
1,1
COMMENTS
These might be called "sexy" (or "sextic") numbers. - Cino Hilliard, Nov 28 2008
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..3439
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
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved