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.

A088440 a(4n) = 4n, otherwise a(n) = 1.

Original entry on oeis.org

0, 1, 1, 1, 4, 1, 1, 1, 8, 1, 1, 1, 12, 1, 1, 1, 16, 1, 1, 1, 20, 1, 1, 1, 24, 1, 1, 1, 28, 1, 1, 1, 32, 1, 1, 1, 36, 1, 1, 1, 40, 1, 1, 1, 44, 1, 1, 1, 48, 1, 1, 1, 52, 1, 1, 1, 56, 1, 1, 1, 60, 1, 1, 1, 64, 1, 1, 1, 68, 1, 1, 1, 72, 1, 1, 1, 76, 1, 1, 1, 80, 1, 1, 1, 84, 1, 1, 1, 88, 1, 1, 1, 92, 1, 1, 1
Offset: 0

Views

Author

Roger L. Bagula, Nov 09 2003

Keywords

Crossrefs

Cf. A088140.

Programs

Formula

a(n) = 1+(n-1)*((1+(-1)^(n/2))*(1+(-1)^n))/4. - Wesley Ivan Hurt, May 07 2021
G.f.: x*(1 + x + x^2 + 4*x^3 - x^4 - x^5 - x^6)/(1-x^4)^2. - Georg Fischer, Nov 17 2022
E.g.f.: (1/2)*( cosh(x) + (x+2)*sinh(x) - cos(x) - x*sin(x) ). - G. C. Greubel, Dec 05 2022

Extensions

Description corrected by Antti Karttunen, Jul 03 2018