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-3 of 3 results.

A269447 The first of 23 consecutive positive integers the sum of the squares of which is a square.

Original entry on oeis.org

7, 17, 881, 1351, 42787, 65337, 2053401, 3135331, 98520967, 150431057, 4726953521, 7217555911, 226795248547, 346292253177, 10881444977241, 16614810597091, 522082563659527, 797164616407697, 25049081610680561, 38247286776972871, 1201833834749007907
Offset: 1

Views

Author

Colin Barker, Feb 27 2016

Keywords

Comments

Positive integers y in the solutions to 2*x^2-46*y^2-1012*y-7590 = 0.
All sequences of this type (i.e. sequences with fixed offset k, and a discernible pattern: k=0...22 for this sequence, k=0..1 for A001652, k=0...10 for A106521) can be continued using a formula such as x(n) = a*x(n-p) - x(n-2p) + b, where a and b are various constants, and p is the period of the series. Alternatively 'p' can be considered the number of concurrent series. - Daniel Mondot, Aug 05 2016

Examples

			7 is in the sequence because sum(k=7, 29, k^2) = 8464 = 92^2.
		

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{1,48,-48,-1,1},{7,17,881,1351,42787},30] (* Harvey P. Dale, May 21 2024 *)
  • PARI
    Vec(x*(7+10*x+528*x^2-10*x^3-29*x^4)/((1-x)*(1-48*x^2+x^4)) + O(x^30))

Formula

a(n) = a(n-1)+48*a(n-2)-48*a(n-3)-a(n-4)+a(n-5) for n>5.
G.f.: x*(7+10*x+528*x^2-10*x^3-29*x^4) / ((1-x)*(1-48*x^2+x^4)).
a(1)=7, a(2)=17, a(3)=881, a(4)=1351, a(n) = 48*a(n-2)-a(n-4)+506. - Daniel Mondot, Aug 05 2016

A269449 The first of 33 consecutive positive integers the sum of the squares of which is a square.

Original entry on oeis.org

7, 27, 60, 181, 227, 612, 1085, 1985, 3492, 9047, 11161, 28860, 50607, 91987, 161276, 416685, 513883, 1327652, 2327541, 4230121, 7415908, 19159167, 23628161, 61043836, 107016983, 194494283, 340971196, 880905701, 1086382227, 2806689508, 4920454381, 8942507601
Offset: 1

Views

Author

Colin Barker, Feb 27 2016

Keywords

Comments

Positive integers y in the solutions to 2*x^2-66*y^2-2112*y-22880 = 0.
All sequences of this type (i.e. sequences with fixed offset k, and a discernible pattern: k=0...32 for this sequence, k=0..1 for A001652, k=0...10 for A106521) can be extended using a formula such as x(n) = a*x(n-p) - x(n-2p) + b, where a and b are various constants, and p is the period of the series. Alternatively 'p' can be considered the number of concurrent series. - Daniel Mondot, Aug 08 2016
Numbers x such that 11440+33*x*(32+x)is a square. - Harvey P. Dale, Oct 18 2020

Examples

			7 is in the sequence because sum(k=7, 39, k^2) = 20449 = 143^2.
		

Crossrefs

Programs

  • Mathematica
    Rest@ CoefficientList[Series[x (7 + 20 x + 33 x^2 + 121 x^3 + 46 x^4 + 385 x^5 + 151 x^6 - 20 x^7 - 11 x^8 - 11 x^9 - 2 x^10 - 11 x^11 - 4 x^12)/((1 - x) (1 - 46 x^6 + x^12)), {x, 0, 32}], x] (* Michael De Vlieger, Aug 08 2016 *)
    LinearRecurrence[{1,0,0,0,0,46,-46,0,0,0,0,-1,1},{7,27,60,181,227,612,1085,1985,3492,9047,11161,28860,50607},50] (* Harvey P. Dale, Oct 18 2020 *)
  • PARI
    Vec(x*(7 +20*x +33*x^2 +121*x^3 +46*x^4 +385*x^5 +151*x^6 -20*x^7 -11*x^8 -11*x^9 -2*x^10 -11*x^11 -4*x^12) / ((1 -x)*(1 -46*x^6 +x^12)) + O(x^40))

Formula

G.f.: x*(7 +20*x +33*x^2 +121*x^3 +46*x^4 +385*x^5 +151*x^6 -20*x^7 -11*x^8 -11*x^9 -2*x^10 -11*x^11 -4*x^12) / ((1 -x)*(1 -46*x^6 +x^12)).
a(1)=7, a(2)=27, a(3)=60, a(4)=181, a(5)=227, a(6)=612, a(7)=1085, a(8)=1985, a(9)=3492, a(10)=9047, a(11)=11161, a(12)=28860, a(n)=46*a(n-6)-a(n-12)+704. - Daniel Mondot, Aug 08 2016

A269451 The first of 50 consecutive positive integers the sum of the squares of which is a square.

Original entry on oeis.org

7, 28, 44, 67, 87, 124, 168, 287, 379, 512, 628, 843, 1099, 1792, 2328, 3103, 3779, 5032, 6524, 10563, 13687, 18204, 22144, 29447, 38143, 61684, 79892, 106219, 129183, 171748, 222432, 359639, 465763, 619208, 753052, 1001139, 1296547, 2096248, 2714784
Offset: 1

Views

Author

Colin Barker, Feb 27 2016

Keywords

Comments

Positive integers y in the solutions to 2*x^2-100*y^2-4900*y-80850 = 0.
Numbers n such that 40425 + 2450*n + 50*n^2 is a square. - Harvey P. Dale, Oct 22 2016

Examples

			7 is in the sequence because sum(k=7, 56, k^2) = 60025 = 245^2.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[3*10^6],IntegerQ[Sqrt[40425+2450#+50#^2]]&] (* or *) LinearRecurrence[ {1,0,0,0,0,6,-6,0,0,0,0,-1,1},{7,28,44,67,87,124,168,287,379,512,628,843,1099},40] (* Harvey P. Dale, Oct 22 2016 *)
  • PARI
    Vec(x*(7+21*x+16*x^2+23*x^3+20*x^4+37*x^5+2*x^6-7*x^7-4*x^8-5*x^9-4*x^10-7*x^11-x^12) / ((1-x)*(1+2*x^3-x^6)*(1-2*x^3-x^6)) + O(x^40))

Formula

G.f.: x*(7+21*x+16*x^2+23*x^3+20*x^4+37*x^5+2*x^6-7*x^7-4*x^8-5*x^9-4*x^10-7*x^11-x^12) / ((1-x)*(1+2*x^3-x^6)*(1-2*x^3-x^6)).
Showing 1-3 of 3 results.