OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Feb 12 2017
MATHEMATICA
Select[Range[600] - 1, DigitCount[#, 10, 2]>0 &] (* Vincenzo Librandi, Jan 11 2016 *)
PROG
(Haskell)
a011532 n = a011532_list !! (n-1)
a011532_list = filter ((elem '2') . show) [0..]
-- Reinhard Zumkeller, Apr 10 2015
(Magma) [n: n in [0..500] | 2 in Intseq(n)]; // Vincenzo Librandi, Jan 11 2016
(GAP) Filtered([1..220], n->2 in ListOfDigits(n)); # Muniru A Asiru, Feb 23 2019
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved