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.

A100536 a(n) = 3*n^2 - 2.

Original entry on oeis.org

1, 10, 25, 46, 73, 106, 145, 190, 241, 298, 361, 430, 505, 586, 673, 766, 865, 970, 1081, 1198, 1321, 1450, 1585, 1726, 1873, 2026, 2185, 2350, 2521, 2698, 2881, 3070, 3265, 3466, 3673, 3886, 4105, 4330, 4561, 4798, 5041, 5290, 5545, 5806, 6073, 6346, 6625
Offset: 1

Views

Author

Tyler J Newman (Tylerjnewman(AT)adelphia.net), Nov 27 2004

Keywords

Comments

Integers k such that 3*k + 6 is a perfect square. - Gary Detlefs, Feb 22 2010
Binomial transform of (1, 9, 6, 0, 0, 0, 0, 0, 0, 0, ...). - Philippe Deléham, Mar 16 2014

Examples

			From _Philippe Deléham_, Mar 16 2014: (Start)
a(2)=10 after the evaluation of a(2) = 3*(2^2) - 2 = 3*(4) - 2 = 12 - 2 = 10.
a(1) = 1*1 = 1;
a(2) = 1*1 + 9*1 = 10;
a(3) = 1*1 + 9*2 + 6*1 = 25;
a(4) = 1*1 + 9*3 + 6*3 = 46;
a(5) = 1*1 + 9*4 + 6*6 = 73; etc. (End)
		

Crossrefs

Programs

Formula

a(n) = a(n-1) + 6*n - 3 for n>1. - Vincenzo Librandi, Nov 17 2010
G.f.: x*(1+7*x-2*x^2) / (1-x)^3. - R. J. Mathar, Oct 03 2011
-a(n) = (k-1)^2 + k^2 + (k+1)^2, where k = n*sqrt(-1). - Bruno Berselli, Jan 24 2014
a(T(n)+1) = T(n+1)^2 + T(n)^2 + T(n-1)^2, where T = A000217. - Bruno Berselli, May 14 2014
a(n+1) = binomial(n,0) + 9*binomial(n,1) + 6*binomial(n,2). - Philippe Deléham, Mar 16 2014
a(n) = floor(1/(n*tan(1/n) - 1)). - Clark Kimberling, Dec 02 2014
E.g.f.: 2 - (2 - 3*x - 3*x^2)*exp(x). - G. C. Greubel, Mar 27 2023
(3*n)^2 = a(n-1) + a(n) + a(n+1). - Nicolas Bělohoubek, Jul 02 2025