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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157759 a(n) = 15780962*n^2 - 25943924*n + 10662963. 3
500001, 21898963, 74859849, 159382659, 275467393, 423114051, 602322633, 813093139, 1055425569, 1329319923, 1634776201, 1971794403, 2340374529, 2740516579, 3172220553, 3635486451, 4130314273, 4656704019, 5214655689, 5804169283 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The identity (15780962*n^2 - 25943924*n + 10662963)^2 - (2809*n^2 - 4618*n+1898)*(297754*n - 244754)^2 = 1 can be written as a(n)^2 - A157757(n)*A157758(n)^2 = 1.
This is the case s=53 and r=2309 of the identity (2*(s^2*n-r)^2+1)^2 - (((s^2*n-r)^2+1)/s^2)*(2*s*(s^2*n-r))^2 = 1, where ((s^2*n-r)^2+1)/s^2 is an integer if r^2 == -1 (mod s^2). Therefore, for s=53, nonnegative r values are: 500, 2309, 3309, 5118, 6118, 7927, 8927, 10736, 11736, ... - Bruno Berselli, Apr 24 2018
LINKS
FORMULA
G.f.: x*(500001 - 20398960*x - 10662963*x^2)/(1 - x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {500001, 21898963, 74859849}, 30]
PROG
(Magma) I:=[500001, 21898963, 74859849]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..30]];
(PARI) a(n) = 15780962*n^2 - 25943924*n + 10662963;
CROSSREFS
Sequence in context: A174823 A238152 A145539 * A227110 A187313 A183789
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 06 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 March 29 11:14 EDT 2024. Contains 371278 sequences. (Running on oeis4.)