login
This site is supported by donations to The OEIS Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A158591 36n^2 + 1. 4
1, 37, 145, 325, 577, 901, 1297, 1765, 2305, 2917, 3601, 4357, 5185, 6085, 7057, 8101, 9217, 10405, 11665, 12997, 14401, 15877, 17425, 19045, 20737, 22501, 24337, 26245, 28225, 30277, 32401, 34597, 36865, 39205, 41617, 44101, 46657, 49285, 51985 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

COMMENTS

The identity (36*n^2+1)^2 - (324*n^2+18)*(2*n)^2 = 1 can be written as a(n)^2 - A158590(n)*A005843(n)^2 = 1.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Vincenzo Librandi, X^2-AY^2=1

Index entries for linear recurrences with constant coefficients, signature (3,-3,1).

FORMULA

a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).

G.f.: -(1+34*x+37*x^2)/(x-1)^3.

MATHEMATICA

CoefficientList[Series[- (1 + 34 x + 37 x^2) / (x - 1)^3, {x, 0, 40}], x] (* Vincenzo Librandi, Sep 11 2013 *)

36*Range[0, 40]^2+1 (* or *) LinearRecurrence[{3, -3, 1}, {1, 37, 145}, 40] (* Harvey P. Dale, Jul 02 2019 *)

PROG

(MAGMA) [36*n^2+1: n in [0..40]]; // Vincenzo Librandi, Sep 11 2013

(PARI) a(n)=36*n^2+1 \\ Charles R Greathouse IV, Oct 16 2015

CROSSREFS

Cf. A005843, A158590.

Sequence in context: A244768 A013522 A142498 * A262318 A262921 A031690

Adjacent sequences:  A158588 A158589 A158590 * A158592 A158593 A158594

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Mar 22 2009

EXTENSIONS

Comment rewritten, formula replaced by R. J. Mathar, Oct 28 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 15 17:03 EST 2019. Contains 330000 sequences. (Running on oeis4.)