login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154146 Numbers k such that 16 plus the k-th triangular number is a perfect square. 4
0, 14, 17, 87, 104, 510, 609, 2975, 3552, 17342, 20705, 101079, 120680, 589134, 703377, 3433727, 4099584, 20013230, 23894129, 116645655, 139265192, 679860702, 811697025 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Numbers k such that x=2*k+1 satisfies the Pell-type equation x^2 = 8*y^2 - 127. - Robert Israel, Jul 18 2019
LINKS
F. T. Adams-Watters, SeqFan Discussion, Oct 2009
FORMULA
{k: 16+k*(k+1)/2 in A000290}.
Conjectures: (Start)
a(n) = +a(n-1) +6*a(n-2) -6*a(n-3) -a(n-4) +a(n-5).
G.f.: x^2*(-14-3*x+14*x^2+x^3)/((x-1) * (x^2-2*x-1) * (x^2+2*x-1)).
G.f.: ( 2 + (8+23*x)/(x^2-2*x-1) + 1/(x-1) + (-7+6*x)/(x^2+2*x-1) )/2. (End)
Conjectures confirmed: see link. - Robert Israel, Jul 18 2019
EXAMPLE
0, 14, 17, and 87 are terms:
0* (0+1)/2 + 16 = 4^2,
14*(14+1)/2 + 16 = 11^2,
17*(17+1)/2 + 16 = 13^2,
87*(87+1)/2 + 16 = 62^2.
MAPLE
f:= gfun:-rectoproc({a(n+4)-6*a(n+2)+a(n)=2, a(0)=0, a(1)=14, a(2)=17, a(3)=87}, a(n), remember):
map(f, [$0..40]); # Robert Israel, Jul 18 2019
MATHEMATICA
Join[{0}, Select[Range[0, 1000], ( Ceiling[Sqrt[#*(# + 1)/2]] )^2 - #*(# + 1)/2 == 16 &]] (* G. C. Greubel, Sep 03 2016 *)
PROG
(PARI) {for (n=0, 10^9, if ( issquare(n*(n+1)\2 + 16), print1(n, ", ") ) ); }
CROSSREFS
Sequence in context: A303305 A236685 A165719 * A113735 A063828 A365792
KEYWORD
nonn,less
AUTHOR
R. J. Mathar, Oct 18 2009
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)