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.

A195035 Multiples of 15 and of 8 interleaved: a(2n-1) = 15n, a(2n) = 8n.

Original entry on oeis.org

15, 8, 30, 16, 45, 24, 60, 32, 75, 40, 90, 48, 105, 56, 120, 64, 135, 72, 150, 80, 165, 88, 180, 96, 195, 104, 210, 112, 225, 120, 240, 128, 255, 136, 270, 144, 285, 152, 300, 160, 315, 168, 330, 176, 345, 184, 360, 192, 375, 200, 390, 208, 405, 216
Offset: 1

Views

Author

Omar E. Pol, Sep 12 2011

Keywords

Comments

First differences of A195036.
a(n) is also the length of the n-th edge of a square spiral in which the first two edges are the legs of the primitive Pythagorean triple [15, 8, 17]. Zero together with partial sums give A195036; the vertices of the spiral.

Crossrefs

Programs

Formula

From Bruno Berselli, Sep 30 2011: (Start)
G.f.: x*(15+8*x)/((1-x)^2*(1+x)^2).
a(n) = A010686(n)*A010706(n-1)*A004526(n+1) = (23*n-(7*n+15)*(-1)^n+15)/4.
a(n) = 2*a(n-2) - a(n-4).
a(-n) = -a(A014681(n-1)). (End)