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.

Showing 1-2 of 2 results.

A011916 a(n) = ((b(n)-1)+sqrt(3*b(n)^2-4*b(n)+1))/2, where b(n) is A011922(n).

Original entry on oeis.org

0, 3, 44, 615, 8568, 119339, 1662180, 23151183, 322454384, 4491210195, 62554488348, 871271626679, 12135248285160, 169022204365563, 2354175612832724, 32789436375292575, 456697933641263328, 6360981634602394019
Offset: 0

Views

Author

Mario Velucchi (mathchess(AT)velucchi.it)

Keywords

Comments

Integers k such that k^2 = Sum_{i=1..x} (k+i) for some value of x. 3 is a term because 3^2=9 and 4+5=9; 44 is a term because 44^2=1936 and the sum of (45,46,47,...,76) = 1936. - Gil Broussard, Dec 23 2008
Also the index of the first of two consecutive octagonal numbers whose sum is equal to the sum of two consecutive squares. - Colin Barker, Dec 20 2014
Also the index of a triangular number included in A239071. - Ivan Neretin, May 31 2015

References

  • Mario Velucchi, "Seeing couples" in Recreational and Educational Computing, to appear 1997. [apparently never materialized, Colin Barker, Dec 23 2014]

Crossrefs

Programs

  • Mathematica
    RecurrenceTable[{a[n] == 15 a[n - 1] - 15 a[n - 2] + a[n - 3], a[0] == 0, a[1] == 3, a[2] == 44}, a, {n, 0, 17}] (* Michael De Vlieger, Jul 02 2015 *)
    LinearRecurrence[{15,-15,1},{0,3,44},30] (* Harvey P. Dale, Jul 26 2018 *)
  • PARI
    {a(n) = if( n<0, n = -n; polcoeff( x*(1 - 3*x) / ((x-1) * (x^2 - 14*x + 1)) + x * O(x^n), n), polcoeff( x*(x - 3) / ((x-1) * (x^2 - 14*x + 1)) + x * O(x^n), n))} /* Michael Somos, Jul 27 2012 */
    
  • PARI
    concat(0, Vec(x*(-3+x)/((x-1)*(x^2-14*x+1)) + O(x^100))) \\ Colin Barker, Dec 20 2014

Formula

From R. J. Mathar, Apr 15 2010: (Start)
a(n) = +15*a(n-1) -15*a(n-2) +a(n-3).
G.f.: x*(-3 + x) / ((x - 1)*(x^2 - 14*x + 1)). (End)
From Michael Somos, Jul 27 2012: (Start)
a(n) = A109437(2*n).
a(-1 - n) = -A109437(2*n + 1). (End)
a(n) = (A001353(n+1)^2 - A001075(n)^2)/4. - Richard R. Forberg, Aug 26 2013
a(n) = (-2-(7-4*sqrt(3))^n*(-1+sqrt(3))+(1+sqrt(3))*(7+4*sqrt(3))^n)/12. - Colin Barker, Mar 05 2016

Extensions

More terms from R. J. Mathar, Apr 15 2010
Added a(0)=0, Michael Somos, Jul 27 2012

A239203 Numbers k such that k+x+y is a square and k+u+v is a triangular number, where x and y are the two squares nearest to k, while u and v are the two triangular numbers nearest to k.

Original entry on oeis.org

0, 11, 218987, 55844736, 8299697699240, 2585386023324464
Offset: 1

Views

Author

Alex Ratushnyak, Mar 12 2014

Keywords

Comments

Intersection of A239071 and A238489.

Examples

			11 is in the sequence because the two squares nearest to 11 are 9 and 16 and 11+9+16=36 is a square, and also the two triangular numbers nearest to 11 are 10 and 15, and 11+10+15=36 is a triangular number.
Similarly, 218987 is in the sequence because 218987+467^2+468^2=656100 is a square, and 218987+triangular(661)+triangular(662)=657231 is a triangular number.
		

Crossrefs

Extensions

a(5)-a(6) from Lars Blomberg, Jan 12 2016
Showing 1-2 of 2 results.