login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A028875 n^2 - 5. 6
4, 11, 20, 31, 44, 59, 76, 95, 116, 139, 164, 191, 220, 251, 284, 319, 356, 395, 436, 479, 524, 571, 620, 671, 724, 779, 836, 895, 956, 1019, 1084, 1151, 1220, 1291, 1364, 1439, 1516, 1595, 1676, 1759, 1844, 1931, 2020, 2111, 2204, 2299, 2396 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,1

LINKS

Table of n, a(n) for n=3..49.

P. De Geest, Palindromic Quasipronics of the form n(n+x)

Eric Weisstein's World of Mathematics, Near-Square Prime

Index entries for sequences related to linear recurrences with constant coefficients, signature (3,-3,1).

FORMULA

O.g.f.: x^3*(-4+x+x^2)/(-1+x)^3 . a(n) = 3a(n-1)-3a(n-2)+a(n-3). - R. J. Mathar, Apr 28 2008

a(n)=2*n+a(n-1)+5 (with a(0)=4) [From Vincenzo Librandi, Aug 05 2010]

MAPLE

with(combinat, fibonacci):seq(fibonacci(3, i)-6, i=3..49); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Mar 20 2008

MATHEMATICA

lst={}; Do[AppendTo[lst, n^2-5], {n, 0, 6!, 1}]; lst [From Vladimir Joseph Stephan Orlovsky, Nov 07 2008]

PROG

(Sage)[lucas_number2(2, n, 2-n) for n in xrange(2, 49)]# [From Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), Mar 12 2009]

CROSSREFS

Sequence in context: A047961 A212460 A159801 * A008245 A002441 A008053

Adjacent sequences:  A028872 A028873 A028874 * A028876 A028877 A028878

KEYWORD

nonn,easy

AUTHOR

Patrick De Geest

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 18:03 EDT 2013. Contains 225647 sequences.