cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A263946 Positive integers n such that (n+52)^3 - n^3 is a square.

Original entry on oeis.org

26, 2626, 132522, 6624722, 331104826, 16548617826, 827099787722, 41338440769522, 2066094938689626, 103263408493713026, 5161104329746962922, 257951953078854434322, 12892436549612974754426, 644363875527569883288226, 32205301339828881189658122
Offset: 1

Views

Author

Colin Barker, Oct 30 2015

Keywords

Examples

			26 is in the sequence because (26+52)^3 - 26^3 = 676^2.
		

Crossrefs

Cf. A263942 (4), A263943 (21), A263944 (28), A263945 (39), A263947 (57), A263948 (61), A263949 (84) where the parenthesized number is k in the expression (n+k)^3 - n^3.

Programs

  • Mathematica
    LinearRecurrence[{51,-51,1},{26,2626,132522},20] (* Harvey P. Dale, Feb 05 2019 *)
  • PARI
    Vec(26*x*(3*x^2-50*x-1)/((x-1)*(x^2-50*x+1)) + O(x^30))

Formula

a(n) = 51*a(n-1)-51*a(n-2)+a(n-3) for n>3.
G.f.: 26*x*(3*x^2-50*x-1) / ((x-1)*(x^2-50*x+1)).
a(n) = 26*(-6-(6+sqrt(39))*(25+4*sqrt(39))^(-n)+(-6+sqrt(39))*(25+4*sqrt(39))^n)/6. - Colin Barker, Mar 03 2016