OFFSET
1,2
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
(1 - a(n) mod 2) * A228710(a(n)) = 1. - Reinhard Zumkeller, Aug 31 2013
MATHEMATICA
id[n_]:=IntegerDigits[n]; t={}; Do[If[Length[id[n]]==1, AppendTo[t, n], If[Union[Abs[Differences[Boole /@ EvenQ[id[n]]]]]=={1}, AppendTo[t, n]]], {n, 0, 414, 2}]; t (* Jayanta Basu, May 07 2013 *)
PROG
(Haskell)
a030143 n = a030143_list !! (n-1)
a030143_list = filter even a030141_list
-- Reinhard Zumkeller, Aug 31 2013
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
EXTENSIONS
Offset corrected by Reinhard Zumkeller, Aug 31 2013
STATUS
approved