cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A062285 Numbers with the most significant digit even and alternating parity of digits.

Original entry on oeis.org

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

Views

Author

Amarnath Murthy, Jun 18 2001

Keywords

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.
		

Crossrefs

Programs

  • Haskell
    a062285 n = a062285_list !! (n-1)
    a062285_list = filter (even . a000030) a030141_list
    -- Reinhard Zumkeller, Aug 31 2013

Formula

(1 - A000030(a(n)) mod 2) * A228710(a(n)) = 1. - Reinhard Zumkeller, Aug 31 2013

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