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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A276601 Values of n such that n^2 + 9 is a triangular number (A000217). 5
1, 6, 12, 37, 71, 216, 414, 1259, 2413, 7338, 14064, 42769, 81971, 249276, 477762, 1452887, 2784601, 8468046, 16229844, 49355389, 94594463, 287664288, 551336934, 1676630339, 3213427141, 9772117746, 18729225912, 56956076137, 109161928331, 331964339076 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Colin Barker, Table of n, a(n) for n = 1..1000

Index entries for linear recurrences with constant coefficients, signature (0,6,0,-1).

FORMULA

a(n) = 6*a(n-2)-a(n-4) for n>4.

G.f.: x*(1+x)*(1+5*x+x^2) / ((1+2*x-x^2)*(1-2*x-x^2)).

EXAMPLE

6 is in the sequence because 6^2+9 = 45, which is a triangular number.

MATHEMATICA

CoefficientList[Series[(1 + x)*(1 + 5*x + x^2)/((1 + 2*x - x^2)*(1 - 2*x - x^2)), {x, 0, 30}], x] (* Wesley Ivan Hurt, Sep 07 2016 *)

PROG

(PARI) Vec(x*(1+x)*(1+5*x+x^2) / ((1+2*x-x^2)*(1-2*x-x^2)) + O(x^40))

CROSSREFS

Cf. A000217, A230044.

Cf. A001109 (k=0), A106328 (k=1), A077241 (k=2), A276598 (k=3), A276599 (k=5), A276600 (k=6), A276602 (k=10), where k is the value added to n^2.

Sequence in context: A298881 A256875 A117596 * A096377 A026083 A215179

Adjacent sequences:  A276598 A276599 A276600 * A276602 A276603 A276604

KEYWORD

nonn,easy

AUTHOR

Colin Barker, Sep 07 2016

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 14 03:52 EST 2018. Contains 317159 sequences. (Running on oeis4.)