login
A273054
Numbers n such that 19*n^2 + 20 is a square.
2
4, 22, 1382, 7484, 469876, 2544538, 159756458, 865135436, 54316725844, 294143503702, 18467527030502, 100007926123244, 6278904873644836, 34002400738399258, 2134809189512213738, 11560716243129624476, 725828845529279026084, 3930609520263333922582
OFFSET
1,1
FORMULA
G.f.: 2*x*(2 + 11*x + 11*x^2 + 2*x^3)/(1 - 340*x^2 + x^4).
a(n) = 340*a(n-2) - a(n-4), for n>3.
MATHEMATICA
LinearRecurrence[{0, 340, 0, -1}, {4, 22, 1382, 7484}, 30]
PROG
(Magma) I:=[4, 22, 1382, 7484]; [n le 4 select I[n] else 340*Self(n-2)-Self(n-4): n in [1..30]];
(PARI) x='x+O('x^99); Vec(2*x*(2+11*x+11*x^2+2*x^3)/(1-340*x^2+x^4)) \\ Altug Alkan, May 14 2016
CROSSREFS
Cf. similar sequences listed in A273052.
Sequence in context: A104166 A362823 A368140 * A065401 A053775 A037142
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 14 2016
STATUS
approved