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.

A047395 Numbers that are congruent to {0, 2, 6} mod 8.

Original entry on oeis.org

0, 2, 6, 8, 10, 14, 16, 18, 22, 24, 26, 30, 32, 34, 38, 40, 42, 46, 48, 50, 54, 56, 58, 62, 64, 66, 70, 72, 74, 78, 80, 82, 86, 88, 90, 94, 96, 98, 102, 104, 106, 110, 112, 114, 118, 120, 122, 126, 128, 130, 134, 136, 138, 142, 144, 146, 150, 152, 154, 158
Offset: 1

Views

Author

Keywords

Comments

The members of this sequence together with the members of A017113 give the even numbers. - Wesley Ivan Hurt, Apr 01 2014

Crossrefs

Programs

Formula

From R. J. Mathar, Dec 05 2011: (Start)
G.f.: 2*x^2*(1+x)^2 / ((1+x+x^2)*(x-1)^2).
a(n) = 2 * A042965(n). (End)
From Wesley Ivan Hurt, Jun 13 2016: (Start)
a(n) = a(n-1) + a(n-3) - a(n-4) for n>4.
a(n) = 2*(12*n-12+3*cos(2*n*Pi/3)+sqrt(3)*sin(2*n*Pi/3))/9.
a(3k) = 8k-2, a(3k-1) = 8k-6, a(3k-2) = 8k-8. (End)
a(n) = 2*(n - 1 + floor(n/3)). - Wolfdieter Lang, Sep 11 2021
Sum_{n>=2} (-1)^n/a(n) = sqrt(2)*log(sqrt(2)+2)/4 - (sqrt(2)-1)*log(2)/8. - Amiram Eldar, Dec 19 2021