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!)
A255842 a(n) = 2*n^2 + 12. 1
12, 14, 20, 30, 44, 62, 84, 110, 140, 174, 212, 254, 300, 350, 404, 462, 524, 590, 660, 734, 812, 894, 980, 1070, 1164, 1262, 1364, 1470, 1580, 1694, 1812, 1934, 2060, 2190, 2324, 2462, 2604, 2750, 2900, 3054, 3212, 3374, 3540, 3710, 3884, 4062, 4244, 4430 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This is the case k=6 of the form (n + sqrt(k))^2 + (n - sqrt(k))^2. Also, it is noted that a(n)*n = (n + sqrt(2))^3 + (n - sqrt(2))^3.
Equivalently, numbers m such that 2*m-24 is a square.
For n = 0..10, a(n)-1 is prime (see A092968).
LINKS
FORMULA
G.f.: 2*(6 - 11*x + 7*x^2)/(1 - x)^3.
a(n) = a(-n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
a(n) = 2*A114949(n).
From Amiram Eldar, Mar 28 2023: (Start)
Sum_{n>=0} 1/a(n) = (1 + sqrt(6)*Pi*coth(sqrt(6)*Pi))/24.
Sum_{n>=0} (-1)^n/a(n) = (1 + sqrt(6)*Pi*cosech(sqrt(6)*Pi))/24. (End)
MATHEMATICA
Table[2 n^2 + 12, {n, 0, 50}]
PROG
(PARI) vector(50, n, n--; 2*n^2+12)
(Sage) [2*n^2+12 for n in (0..50)]
(Magma) [2*n^2+12: n in [0..50]];
CROSSREFS
Cf. A016825 (first differences), A092968, A114949.
Subsequence of A047238 and A047406.
Cf. similar sequences listed in A255843.
Sequence in context: A107835 A257966 A342814 * A229966 A342491 A101557
KEYWORD
nonn,easy
AUTHOR
Avi Friedlich, Mar 08 2015
EXTENSIONS
Edited by Bruno Berselli, Mar 11 2015
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 April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)