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.

Previous Showing 11-11 of 11 results.

A381196 Stellated octagon numbers: a(n) = 20*n^2 + 8*n + 1.

Original entry on oeis.org

1, 29, 97, 205, 353, 541, 769, 1037, 1345, 1693, 2081, 2509, 2977, 3485, 4033, 4621, 5249, 5917, 6625, 7373, 8161, 8989, 9857, 10765, 11713, 12701, 13729, 14797, 15905, 17053, 18241, 19469, 20737, 22045, 23393, 24781, 26209, 27677, 29185, 30733, 32321, 33949
Offset: 0

Views

Author

Aaron David Fairbanks, Feb 16 2025

Keywords

Comments

Sequence found by reading the line from 1, in the direction 1, 29, ..., in the square spiral whose vertices are the generalized dodecagonal numbers A195162. - Omar E. Pol, Feb 17 2025

Examples

			Illustration of initial terms:
.
.                                     o
.                                   o o o
.                             o o o o o o o o o
.              o              o o o o o o o o o
.          o o o o o          o o o o o o o o o
.          o o o o o        o o o o o o o o o o o
.   o    o o o o o o o    o o o o o o o o o o o o o
.          o o o o o        o o o o o o o o o o o
.          o o o o o          o o o o o o o o o
.              o              o o o o o o o o o
.                             o o o o o o o o o
.                                   o o o
.                                     o
.
.   1          29                     97
		

Crossrefs

Programs

  • Mathematica
    a[n_] := 20*n^2 + 8*n + 1; Array[a, 42, 0] (* Amiram Eldar, Feb 17 2025 *)

Formula

a(n) = (4*n + 1)^2 + 4*n^2.
a(n) = A001844(3*n - 2) + 4*A000217(n - 1).
a(n) = 4 * A168668(n) + 1.
a(n) = A016814(n) + A016742(n).
G.f.: (13*x^2+26*x+1) / (1-x)^3.
E.g.f.: exp(x) * (1 + 28*x + 20*x^2). - Stefano Spezia, Feb 23 2025
Previous Showing 11-11 of 11 results.