login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A114040
a(0) = 1, a(1) = 9, a(n) = 6*a(n-1) - a(n-2) - 4.
0
1, 9, 49, 281, 1633, 9513, 55441, 323129, 1883329, 10976841, 63977713, 372889433, 2173358881, 12667263849, 73830224209, 430314081401, 2508054264193, 14618011503753, 85200014758321, 496582077046169, 2894292447518689, 16869172608065961, 98320743200877073
OFFSET
0,2
COMMENTS
The most straightforward test for "triangularity" is istriangle(n) <===> issquare(8*n+1). If this sequence could be proved to be free of squares beyond the first three terms, that would lead directly to a proof that 0, 1 and 6 are the only triangular numbers whose squares are triangular numbers.
FORMULA
G.f.: (1+2x-7x^2)/((1-x)(1-6x+x^2)). [R. J. Mathar, Sep 09 2008]
MATHEMATICA
LinearRecurrence[{7, -7, 1}, {1, 9, 49}, 30] (* Harvey P. Dale, Aug 18 2018 *)
CROSSREFS
Equals 8*A001109(n)+1. It is also A081554(n)+1.
Sequence in context: A359186 A012231 A123270 * A231178 A359204 A090390
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, based on email from Jack Brennen, Feb 01 2006
STATUS
approved