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.

A195030 a(n) = (n-2)*(14*n-39) for n > 2, otherwise a(n) = n.

Original entry on oeis.org

0, 1, 2, 3, 34, 93, 180, 295, 438, 609, 808, 1035, 1290, 1573, 1884, 2223, 2590, 2985, 3408, 3859, 4338, 4845, 5380, 5943, 6534, 7153, 7800, 8475, 9178, 9909, 10668, 11455, 12270, 13113, 13984, 14883, 15810, 16765, 17748, 18759, 19798, 20865, 21960, 23083
Offset: 0

Views

Author

Omar E. Pol, Oct 18 2011

Keywords

Comments

Union of [1, 2] and A195021.
Sequence found by reading the line from 0, in the direction 0, 1,..., in the Pythagorean spiral whose edges have length A195019 and whose vertices are the numbers A195020. This is the one of the semi-axis of the square spiral, which is related to the primitive Pythagorean triple [3, 4, 5].

Crossrefs

Programs

Formula

G.f.: x*(1-x+30*x^3-2*x^4)/(1-x)^3. - Bruno Berselli, Oct 18 2011

Extensions

Both sequence (based on A195021) and definition suggested by Bruno Berselli, Oct 18 2011