A062285 Numbers with the most significant digit even and alternating parity of digits.
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
Examples
4325 is a member as the most significant digit is 4 (even) and the subsequent digits 3, 2, 5 are alternately odd and even.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
- Index entries for 10-automatic sequences.
Programs
-
Haskell
a062285 n = a062285_list !! (n-1) a062285_list = filter (even . a000030) a030141_list -- Reinhard Zumkeller, Aug 31 2013
Formula
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