OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Seong Ju Kim, R. Stees, L. Taalman, Sequences of Spiral Knot Determinants, Journal of Integer Sequences, Vol. 19 (2016), # 16.1.4.
Ryan Stees, Sequences of Spiral Knot Determinants, Senior Honors Projects, Paper 84, James Madison Univ., May 2016.
FORMULA
a(n) ~ 2n. - Charles R Greathouse IV, Mar 30 2022
MATHEMATICA
Select[2*Range[200], DigitCount[#, 10, 2]>0&] (* Harvey P. Dale, Nov 04 2013 *)
PROG
(Haskell)
a121022 n = a121022_list !! (n-1)
a121022_list = filter (('2' `elem`) . show) [0, 2 ..]
-- Reinhard Zumkeller, Nov 08 2013
(PARI) is(n) = n%2==0 && setsearch(vecsort(digits(n)), 2) \\ Felix Fröhlich, Nov 22 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Reinhard Zumkeller, Jul 21 2006
STATUS
approved