OFFSET
1,2
COMMENTS
Or, numbers whose product of digits is even.
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
F. Smarandache, Only Problems, Not Solutions!, Xiquan Publ., Phoenix-Chicago, 1993.
FORMULA
a(n) ~ n. - Charles R Greathouse IV, Sep 07 2012
PROG
(Magma) [ n : n in [0..129] | IsEven(&*Intseq(n, 10)) ];
(Haskell)
import Data.List (findIndices)
a007928 n = a007928_list !! (n-1)
a007928_list = findIndices (> 0) a196563_list
-- Reinhard Zumkeller, Oct 04 2011
(PARI) is(n)=vecmin(Set(digits(n)%2))==0 \\ Charles R Greathouse IV, Feb 14 2017
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
R. Muller
STATUS
approved