[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A062285
Numbers with the most significant digit even and alternating parity of digits.
6
0, 2, 4, 6, 8, 21, 23, 25, 27, 29, 41, 43, 45, 47, 49, 61, 63, 65, 67, 69, 81, 83, 85, 87, 89, 210, 212, 214, 216, 218, 230, 232, 234, 236, 238, 250, 252, 254, 256, 258, 270, 272, 274, 276, 278, 290, 292, 294, 296, 298, 410, 412, 414, 416, 418, 430, 432, 434, 436
OFFSET
1,2
FORMULA
(1 - A000030(a(n)) mod 2) * A228710(a(n)) = 1. - Reinhard Zumkeller, Aug 31 2013
EXAMPLE
4325 is a member as the most significant digit is 4 (even) and the subsequent digits 3, 2, 5 are alternately odd and even.
PROG
(Haskell)
a062285 n = a062285_list !! (n-1)
a062285_list = filter (even . a000030) a030141_list
-- Reinhard Zumkeller, Aug 31 2013
CROSSREFS
Sequence in context: A131122 A335209 A119261 * A079206 A265342 A335661
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, Jun 18 2001
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Jun 19 2001
Offset corrected by and a(1)=0 prepended by Reinhard Zumkeller, Aug 31 2013
STATUS
approved