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!)
A158575 a(n) = 32*n^2 + 1. 4
1, 33, 129, 289, 513, 801, 1153, 1569, 2049, 2593, 3201, 3873, 4609, 5409, 6273, 7201, 8193, 9249, 10369, 11553, 12801, 14113, 15489, 16929, 18433, 20001, 21633, 23329, 25089, 26913, 28801, 30753, 32769, 34849, 36993, 39201, 41473, 43809, 46209, 48673, 51201 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
The identity (32*n^2+1)^2-(256*n^2+16)*(2*n)^2 = 1 can be written as a(n)^2-A158574(n)*A005843(n)^2 = 1. - Comment rewritten by R. J. Mathar, Oct 16 2009
Sequence found by reading the line segment from 1 to 33 together with the line from 33, in the direction 33, 129, ..., in the square spiral whose vertices are the generalized 18-gonal numbers A274979. - Omar E. Pol, Apr 21 2021
LINKS
Vincenzo Librandi, X^2-AY^2=1, Math Forum, 2007. [Wayback Machine link]
FORMULA
G.f.: (1+30*x+33*x^2)/(1-x)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
For n>0 a(n) = sqrt(8*(A000217(4*n-1)^2 + A000217(4*n)^2) + 1). - J. M. Bergot, Sep 03 2015
a(n) = A244082(n) + 1. - Omar E. Pol, Apr 21 2021
From Amiram Eldar, Mar 09 2023: (Start)
Sum_{n>=0} 1/a(n) = (1 + coth(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)))/2.
Sum_{n>=0} (-1)^n/a(n) = (1 + cosech(Pi/(4*sqrt(2)))*Pi/(4*sqrt(2)))/2. (End)
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {1, 33, 129}, 50] (* Vincenzo Librandi, Feb 15 2012 *)
32*Range[0, 40]^2+1 (* Harvey P. Dale, Jul 20 2021 *)
PROG
(Magma) I:=[1, 33, 129]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..50]]; // Vincenzo Librandi, Feb 15 2012
(PARI) for(n=0, 50, print1(32*n^2+1", ")); \\ Vincenzo Librandi, Feb 15 2012
CROSSREFS
Cf. A274979 (generalized 18-gonal numbers).
Sequence in context: A235895 A010020 A007419 * A209981 A036546 A043502
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 21 2009
EXTENSIONS
a(0) added by R. J. Mathar, Oct 16 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 28 14:38 EDT 2024. Contains 371254 sequences. (Running on oeis4.)