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.

A047234 Numbers that are congruent to {0, 1, 4} mod 6.

Original entry on oeis.org

0, 1, 4, 6, 7, 10, 12, 13, 16, 18, 19, 22, 24, 25, 28, 30, 31, 34, 36, 37, 40, 42, 43, 46, 48, 49, 52, 54, 55, 58, 60, 61, 64, 66, 67, 70, 72, 73, 76, 78, 79, 82, 84, 85, 88, 90, 91, 94, 96, 97, 100, 102, 103, 106, 108, 109, 112, 114, 115, 118, 120, 121, 124
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

Formula

Equals partial sums of (0, 1, 3, 2, 1, 3, 2, 1, 3, 2, ...). - Gary W. Adamson, Jun 19 2008
G.f.: x^2*(1+x)*(2*x+1)/((1+x+x^2)*(x-1)^2). - R. J. Mathar, Oct 08 2011
From Wesley Ivan Hurt, Jun 14 2016: (Start)
a(n) = a(n-1) + a(n-3) - a(n-4) for n>4.
a(n) = (6*n-7+cos(2*n*Pi/3)+sqrt(3)*sin(2*n*Pi/3))/3.
a(3k) = 6k-2, a(3k-1) = 6k-5, a(3k-2) = 6k-6. (End)
Sum_{n>=2} (-1)^n/a(n) = (3-sqrt(3))*Pi/18 + log(2)/3 + log(2+sqrt(3))/(2*sqrt(3)). - Amiram Eldar, Dec 14 2021
E.g.f.: (6 + exp(x)*(6*x - 7) + exp(-x/2)*(cos(sqrt(3)*x/2) + sqrt(3)*sin(sqrt(3)*x/2)))/3. - Stefano Spezia, Jul 26 2024