login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157448 a(n) = 2048*n^2 - 128*n + 1. 3
1921, 7937, 18049, 32257, 50561, 72961, 99457, 130049, 164737, 203521, 246401, 293377, 344449, 399617, 458881, 522241, 589697, 661249, 736897, 816641, 900481, 988417, 1080449, 1176577, 1276801, 1381121, 1489537, 1602049, 1718657, 1839361 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The identity (2048*n^2 - 128*n + 1)^2 - (16*n^2 - n)*(512*n - 16)^2 = 1 can be written as a(n)^2 - A157446(n)*A157447(n)^2 = 1 (see also second comment at A157446). - Vincenzo Librandi, Jan 26 2012

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

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). - Vincenzo Librandi, Jan 26 2012

G.f.: x*(-1921 - 2174*x - x^2)/(x-1)^3. - Vincenzo Librandi, Jan 26 2012

MATHEMATICA

LinearRecurrence[{3, -3, 1}, {1921, 7937, 18049}, 40] (* Vincenzo Librandi, Jan 26 2012 *)

PROG

(Magma) I:=[1921, 7937, 18049]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Jan 26 2012

(PARI) for(n=1, 22, print1(2048*n^2 - 128*n + 1", ")); \\ Vincenzo Librandi, Jan 26 2012

CROSSREFS

Cf. A157446, A157447.

Sequence in context: A252140 A252148 A252141 * A035768 A107564 A135648

Adjacent sequences: A157445 A157446 A157447 * A157449 A157450 A157451

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Mar 01 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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 26 20:27 EST 2022. Contains 358362 sequences. (Running on oeis4.)