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!)
A197985 a(n) = round((n+1/n)^2). 2
4, 6, 11, 18, 27, 38, 51, 66, 83, 102, 123, 146, 171, 198, 227, 258, 291, 326, 363, 402, 443, 486, 531, 578, 627, 678, 731, 786, 843, 902, 963, 1026, 1091, 1158, 1227, 1298, 1371, 1446, 1523, 1602, 1683, 1766, 1851, 1938, 2027 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Shifted variant of A102305. - R. J. Mathar, Oct 20 2011
LINKS
FORMULA
a(n) = n^2 + 2, n > 1.
a(n) = a(n-1) + 2*n - 1, n > 2.
From G. C. Greubel, Feb 04 2024: (Start)
G.f.: x*(4 - 6*x + 5*x^2 - x^3)/(1 - x)^3.
E.g.f.: -2 + x + (2 + x + x^2)*exp(x). (End)
MATHEMATICA
Table[Floor[(n+1/n)^2+1/2], {n, 50}] (* Harvey P. Dale, Aug 12 2012 *)
Join[{4}, 2+Range[2, 50]^2] (* G. C. Greubel, Feb 04 2024 *)
PROG
(Magma) [Round((n+1/n)^2): n in [1..60]]
(SageMath) [4]+[n^2+2 for n in range(2, 51)] # G. C. Greubel, Feb 04 2024
CROSSREFS
Sequence in context: A060577 A360042 A360361 * A058579 A022318 A291916
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 20 2011
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 07:32 EDT 2024. Contains 371235 sequences. (Running on oeis4.)