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

A129974 Nonnegative values x of solutions (x, y) to the Diophantine equation x^2+(x+937)^2 = y^2.

Original entry on oeis.org

0, 627, 1128, 2811, 6188, 9027, 18740, 38375, 54908, 111503, 225936, 322295, 652152, 1319115, 1880736, 3803283, 7690628, 10963995, 22169420, 44826527, 63905108, 129215111, 261270408, 372468527, 753123120, 1522797795, 2170907928
Offset: 1

Views

Author

Mohamed Bouhamida, Jun 13 2007

Keywords

Comments

Also values x of Pythagorean triples (x, x+937, y).
Corresponding values y of solutions (x, y) are in A160209.
lim_{n -> infinity} a(n)/a(n-3) = 3+2*sqrt(2).
lim_{n -> infinity} a(n)/a(n-1) = (1179+506*sqrt(2))/937 for n mod 3 = {1, 2}.
lim_{n -> infinity} a(n)/a(n-1) = (933747+224782*sqrt(2))/937^2 for n mod 3 = 0.

Crossrefs

Cf. A160209, A001652, A129857, A156035 (decimal expansion of 3+2*sqrt(2)), A160210 (decimal expansion of (1179+506*sqrt(2))/937), A160211 (decimal expansion of (933747+224782*sqrt(2))/937^2).

Programs

  • PARI
    {forstep(n=0, 10000000, [3, 1], if(issquare(2*n^2+1874*n+877969), print1(n, ",")))}

Formula

a(n) = 6*a(n-3)-a(n-6)+1874 for n > 6; a(1)=0, a(2)=627, a(3)=1128, a(4)=2811, a(5)=6188, a(6)=9027.
G.f.: x*(627+501*x+1683*x^2-385*x^3-167*x^4-385*x^5) / ((1-x)*(1-6*x^3+x^6)).
a(3*k+1) = 937*A001652(k) for k >= 0.

Extensions

Edited and two terms added by Klaus Brockhaus, May 18 2009

A160206 Positive numbers y such that y^2 is of the form x^2+(x+857)^2 with integer x.

Original entry on oeis.org

697, 857, 1117, 3065, 4285, 6005, 17693, 24853, 34913, 103093, 144833, 203473, 600865, 844145, 1185925, 3502097, 4920037, 6912077, 20411717, 28676077, 40286537, 118968205, 167136425, 234807145, 693397513, 974142473, 1368556333
Offset: 1

Views

Author

Klaus Brockhaus, May 18 2009

Keywords

Comments

(-185, a(1)) and (A129857(n), a(n+1)) are solutions (x, y) to the Diophantine equation x^2+(x+857)^2 = y^2.
lim_{n -> infinity} a(n)/a(n-3) = 3+2*sqrt(2).
lim_{n -> infinity} a(n)/a(n-1) = (907+210*sqrt(2))/857 for n mod 3 = {0, 2}.
lim_{n -> infinity} a(n)/a(n-1) = (1208787+678878*sqrt(2))/857^2 for n mod 3 = 1.

Examples

			(-185, a(1)) = (-185, 697) is a solution: (-185)^2+(-185+857)^2 = 34225+451584 = 485809 = 697^2.
(A129857(1), a(2)) = (0, 857) is a solution: 0^2+(0+857)^2 = 734449 = 857^2.
(A129857(3), a(4)) = (1696, 3065) is a solution: 1696^2+(1696+857)^2 = 2876416+6517809 = 9394225 = 3065^2.
		

Crossrefs

Cf. A129857, A001653, A156035 (decimal expansion of 3+2*sqrt(2)), A160207 (decimal expansion of (907+210*sqrt(2))/857), A160208 (decimal expansion of (1208787+678878*sqrt(2))/857^2).

Programs

  • Magma
    I:=[697,857,1117,3065,4285,6005]; [n le 6 select I[n] else 6*Self(n-3) - Self(n-6): n in [1..40]]; // G. C. Greubel, May 14 2018
  • Mathematica
    LinearRecurrence[{0,0,6,0,0,-1}, {697,857,1117,3065,4285,6005}, 50] (* G. C. Greubel, May 14 2018 *)
  • PARI
    {forstep(n=-188, 10000000, [3, 1], if(issquare(2*n^2 +1714*n +734449, &k), print1(k, ",")))}
    
  • PARI
    x='x+O('x^30); Vec((1-x)*(697+1554*x+2671*x^2+1554*x^3 +697*x^4 )/(1-6*x^3+x^6)) \\ G. C. Greubel, May 14 2018
    

Formula

a(n) = 6*a(n-3) -a(n-6) for n > 6; a(1)=697, a(2)=857, a(3)=1117, a(4)=3065, a(5)=4285, a(6)=6005.
G.f.: (1-x)*(697+1554*x+2671*x^2+1554*x^3+697*x^4)/(1-6*x^3+x^6).
a(3*k-1) = 857*A001653(k) for k >= 1.

A160207 Decimal expansion of (907+210*sqrt(2))/857.

Original entry on oeis.org

1, 4, 0, 4, 8, 8, 3, 1, 3, 6, 6, 3, 7, 5, 1, 4, 5, 3, 9, 3, 7, 9, 6, 4, 3, 6, 7, 8, 0, 4, 4, 3, 8, 3, 4, 2, 6, 4, 8, 7, 3, 1, 7, 4, 9, 5, 7, 1, 6, 6, 3, 8, 3, 8, 4, 3, 2, 5, 6, 7, 4, 1, 4, 8, 1, 6, 5, 7, 5, 7, 0, 8, 3, 4, 0, 3, 7, 8, 3, 5, 2, 1, 7, 7, 1, 9, 7, 3, 6, 0, 8, 1, 7, 8, 3, 0, 1, 9, 0, 2, 3, 0, 3, 7, 9
Offset: 1

Views

Author

Klaus Brockhaus, May 18 2009

Keywords

Comments

Equals lim_{n -> infinity} b(n)/b(n-1) for n mod 3 = {1, 2}, b = A129857.
Equals lim_{n -> infinity} b(n)/b(n-1) for n mod 3 = {0, 2}, b = A160206.

Examples

			(907+210*sqrt(2))/857 = 1.40488313663751453937...
		

Crossrefs

Cf. A129857, A160206, A002193 (decimal expansion of sqrt(2)), A160208 (decimal expansion of (1208787+678878*sqrt(2))/857^2).

Programs

  • Magma
    (907+210*Sqrt(2))/857; // G. C. Greubel, Apr 25 2018
  • Mathematica
    RealDigits[(907+210Sqrt[2])/857,10,150][[1]]  (* Harvey P. Dale, Mar 20 2011 *)
  • PARI
    (907+210*sqrt(2))/857 \\ G. C. Greubel, Apr 25 2018
    

Formula

Equals (42+5*sqrt(2))/(42-5*sqrt(2)).

A160208 Decimal expansion of (1208787 +678878*sqrt(2))/857^2.

Original entry on oeis.org

2, 9, 5, 3, 0, 5, 1, 1, 6, 4, 6, 1, 0, 0, 9, 8, 2, 1, 0, 4, 1, 4, 0, 5, 5, 7, 5, 8, 4, 1, 7, 5, 7, 7, 5, 4, 7, 4, 9, 9, 1, 7, 5, 1, 6, 8, 6, 1, 2, 3, 2, 2, 6, 4, 4, 6, 2, 4, 7, 9, 7, 6, 1, 9, 9, 4, 0, 4, 8, 9, 3, 7, 8, 4, 5, 0, 2, 3, 7, 2, 5, 5, 8, 4, 8, 4, 9, 7, 8, 3, 7, 8, 7, 4, 7, 6, 1, 4, 2, 7, 4, 3, 0, 9, 0
Offset: 1

Views

Author

Klaus Brockhaus, May 18 2009

Keywords

Comments

Equals lim_{n -> infinity} b(n)/b(n-1) for n mod 3 = 0, b = A129857.
Equals lim_{n -> infinity} b(n)/b(n-1) for n mod 3 = 1, b = A160206.

Examples

			(1208787 +678878*sqrt(2))/857^2 = 2.95305116461009821041...
		

Crossrefs

Cf. A129857, A160206, A002193 (decimal expansion of sqrt(2)), A160207 (decimal expansion of (907+210*sqrt(2))/857).

Programs

  • Magma
    (1208787 +678878*Sqrt(2))/857^2; // G. C. Greubel, Apr 08 2018
  • Mathematica
    RealDigits[(1208787+678878Sqrt[2])/857^2,10,120][[1]] (* Harvey P. Dale, Nov 09 2012 *)
  • PARI
    (1208787 +678878*sqrt(2))/857^2 \\ G. C. Greubel, Apr 08 2018
    

Formula

Equals (1394 +487*sqrt(2))/(1394 -487*sqrt(2));
Equals (3+2*sqrt(2))*(42-5*sqrt(2))^2/(42+5*sqrt(2))^2.

A201916 Nonnegative values x of solutions (x, y) to the Diophantine equation x^2+(x+2737)^2 = y^2.

Original entry on oeis.org

0, 75, 203, 323, 552, 708, 1020, 1127, 1311, 1428, 1608, 1820, 1955, 2336, 2675, 3128, 3311, 3627, 3927, 4140, 4508, 4743, 5535, 6003, 6800, 7280, 7848, 8211, 8588, 9240, 9860, 11063, 11895, 13583, 14168, 15180, 15827, 16827, 18011, 18768, 20915, 22836
Offset: 1

Views

Author

T. D. Noe, Feb 09 2012

Keywords

Comments

Note that 2737 = 7 * 17 * 23, the product of the first three distinct primes in A058529 (and A001132) and hence the smallest such number. This sequence satisfies a linear difference equation of order 55 whose 55 initial terms can be found by running the Mathematica program.
There are many sequences like this one. What determines the order of the linear difference equation? All primes p have order 7. For those p, it appears that p^2 has order 11, p^3 order 15, and p^i order 3+4*i. It appears that for semiprimes p*q (with p > q), the order is 19. What is the next term of the sequence beginning 3, 7, 19, 55, 163? This could be sequence A052919, which is 1 + 2*3^f, where f is the number of primes.
The crossref list is thought to be complete up to Feb 14 2012.

Crossrefs

Cf. A001652 (1), A076296 (7), A118120 (17), A118337 (23), A118674 (31).
Cf. A129288 (41), A118675 (47), A118554 (49), A118673 (71), A129289 (73).
Cf. A118676 (79), A129298 (89), A129836 (97), A157119 (103), A161478 (113).
Cf. A129837 (119), A129992 (127), A129544 (137), A161482 (151).
Cf. A206426 (161), A130608 (167), A161486 (191), A185394 (193).
Cf. A129993 (199), A198294 (217), A130609 (223), A129625 (233).
Cf. A204765 (239), A129991 (241), A207058 (263), A129626 (281).
Cf. A205644 (287), A207059 (289), A129640 (313), A205672 (329).
Cf. A129999 (337), A118611 (343), A130610 (359), A207060 (401).
Cf. A129641 (409), A207061 (433), A130645 (439), A130004 (449).
Cf. A129642 (457), A129725 (521), A101152 (569), A130005 (577).
Cf. A207075 (479), A207076 (487), A207077 (497), A207078 (511).
Cf. A111258 (601), A115135 (617), A130013 (647), A130646 (727).
Cf. A122694 (761), A123654 (809), A129010 (833), A130647 (839).
Cf. A129857 (857), A130014 (881), A129974 (937), A129975 (953).
Cf. A130017 (967), A118630 (2401), A118576 (16807).

Programs

  • Mathematica
    d = 2737; terms = 100; t = Select[Range[0, 55000], IntegerQ[Sqrt[#^2 + (#+d)^2]] &]; Do[AppendTo[t, t[[-1]] + 6*t[[-27]] - 6*t[[-28]] - t[[-54]] + t[[-55]]], {terms-55}]; t

Formula

a(n) = a(n-1) + 6*a(n-27) - 6*a(n-28) - a(n-54) + a(n-55), where the 55 initial terms can be computed using the Mathematica program.
G.f.: x^2*(73*x^53 +116*x^52 +100*x^51 +171*x^50 +104*x^49 +184*x^48 +57*x^47 +92*x^46 +55*x^45 +80*x^44 +88*x^43 +53*x^42 +139*x^41 +113*x^40 +139*x^39 +53*x^38 +88*x^37 +80*x^36 +55*x^35 +92*x^34 +57*x^33 +184*x^32 +104*x^31 +171*x^30 +100*x^29 +116*x^28 +73*x^27 -363*x^26 -568*x^25 -480*x^24 -797*x^23 -468*x^22 -792*x^21 -235*x^20 -368*x^19 -213*x^18 -300*x^17 -316*x^16 -183*x^15 -453*x^14 -339*x^13 -381*x^12 -135*x^11 -212*x^10 -180*x^9 -117*x^8 -184*x^7 -107*x^6 -312*x^5 -156*x^4 -229*x^3 -120*x^2 -128*x -75) / ((x -1)*(x^54 -6*x^27 +1)). - Colin Barker, May 18 2015
Showing 1-5 of 5 results.