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.

A234648 Even sums of 2 consecutive odious numbers (A000069).

Original entry on oeis.org

6, 24, 30, 40, 54, 72, 86, 96, 102, 120, 126, 136, 150, 160, 166, 184, 198, 216, 222, 232, 246, 264, 278, 288, 294, 312, 326, 344, 350, 360, 374, 384, 390, 408, 414, 424, 438, 456, 470, 480, 486, 504, 510, 520, 534, 544, 550, 568, 582, 600, 606, 616, 630
Offset: 1

Views

Author

Gerasimov Sergey, Dec 29 2013

Keywords

Comments

All the terms in this sequence are evil numbers (A001969).

Crossrefs

Intersection of A005843 and A234011.

Programs

  • Mathematica
    odQ[n_] := OddQ @ DigitCount[n, 2, 1]; Select[Plus @@@ Partition[Select[ Range[320], odQ], 2, 1], EvenQ] (* Amiram Eldar, Aug 31 2020 *)

Formula

a(n) = A234011(A036554(n)) = A225822(n) + (-1)^n.