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!)
A001110 Square triangular numbers: numbers that are both triangular and square.
(Formerly M5259 N2291)
82

%I M5259 N2291 #394 Apr 30 2024 12:31:55

%S 0,1,36,1225,41616,1413721,48024900,1631432881,55420693056,

%T 1882672131025,63955431761796,2172602007770041,73804512832419600,

%U 2507180834294496361,85170343853180456676,2893284510173841030625,98286503002057414584576,3338847817559778254844961,113422539294030403250144100

%N Square triangular numbers: numbers that are both triangular and square.

%C Satisfies a recurrence of S_r type for r=36: 0, 1, 36 and a(n-1)*a(n+1)=(a(n)-1)^2. First observed by Colin Dickson in alt.math.recreational, Mar 07 2004. - _Rainer Rosenthal_, Mar 14 2004

%C For every n, a(n) is the first of three triangular numbers in geometric progression. The third number in the progression is a(n+1). The middle triangular number is sqrt(a(n)*a(n+1)). Chen and Fang prove that four distinct triangular numbers are never in geometric progression. - _T. D. Noe_, Apr 30 2007

%C The sum of any two terms is never equal to a Fermat number. - _Arkadiusz Wesolowski_, Feb 14 2012

%C Conjecture: No a(2^k), where k is a nonnegative integer, can be expressed as a sum of a positive square number and a positive triangular number. - _Ivan N. Ianakiev_, Sep 19 2012

%C For n=2k+1, A010888(a(n))=1 and for n=2k, k > 0, A010888(a(n))=9. - _Ivan N. Ianakiev_, Oct 12 2013

%C For n > 0, these are the triangular numbers which are the sum of two consecutive triangular numbers, for instance 36 = 15 + 21 and 1225 = 595 + 630. - _Michel Marcus_, Feb 18 2014

%C The sequence is the case P1 = 36, P2 = 68, Q = 1 of the 3-parameter family of 4th order linear divisibility sequences found by Williams and Guy. - _Peter Bala_, Apr 03 2014

%C For n=2k, k > 0, a(n) is divisible by 12 and is therefore abundant. I conjecture that for n=2k+1 a(n) is deficient [true for k up to 43 incl.]. - _Ivan N. Ianakiev_, Sep 30 2014

%C The conjecture is true for all k > 0 because: For n=2k+1, k > 0, a(n) is odd. If a(n) is a prime number, it is deficient; otherwise a(n) has one or two distinct prime factors and is therefore deficient again. So for n=2k+1, k > 0, a(n) is deficient. - _Muniru A Asiru_, Apr 13 2016

%C Numbers k for which A139275(k) is a perfect square. - _Bruno Berselli_, Jan 16 2018

%D A. H. Beiler, Recreations in the Theory of Numbers, Dover, NY, 1964, p. 193.

%D L. E. Dickson, History of the Theory of Numbers. Carnegie Institute Public. 256, Washington, DC, Vol. 1, 1919; Vol. 2, 1920; Vol. 3, 1923; see Vol. 2, p. 10.

%D Martin Gardner, Time Travel and other Mathematical Bewilderments, Freeman & Co., 1988, pp. 16-17.

%D Miodrag S. Petković, Famous Puzzles of Great Mathematicians, Amer. Math. Soc. (AMS), 2009, p. 64.

%D J. H. Silverman, A Friendly Introduction to Number Theory, Prentice Hall, 2001, p. 196.

%D N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H Kade Robertson, <a href="/A001110/b001110.txt">Table of n, a(n) for n = 0..600</a> [This replaces an earlier b-file computed by T. D. Noe]

%H Nikola Adžaga, Andrej Dujella, Dijana Kreso, and Petra Tadić, <a href="https://www.researchgate.net/publication/323934704_On_Diophantine_m-tuples_and_Dn-sets">On Diophantine m-tuples and D(n)-sets</a>, 2018.

%H Muniru A. Asiru, <a href="http://dx.doi.org/10.1080/0020739X.2016.1164346">All square chiliagonal numbers</a>, International Journal of Mathematical Education in Science and Technology, Volume 47, 2016 - Issue 7.

%H Tom Beldon and Tony Gardiner, <a href="http://www.jstor.org/stable/3621134">Triangular numbers and perfect squares</a>, The Mathematical Gazette, 2002, pp. 423-431, esp pp. 424-426.

%H K. S. Brown, <a href="http://www.mathpages.com/home/kmath159.htm">Square Triangular Numbers</a>

%H P. Catarino, H. Campos, and P. Vasco, <a href="http://ami.ektf.hu/uploads/papers/finalpdf/AMI_45_from11to24.pdf">On some identities for balancing and cobalancing numbers</a>, Annales Mathematicae et Informaticae, 45 (2015) pp. 11-24.

%H Kwang-Wu Chen and Yu-Ren Pan, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL23/Pan/pan32.html">Greatest Common Divisors of Shifted Horadam Sequences</a>, J. Int. Seq., Vol. 23 (2020), Article 20.5.8.

%H Yong-Gao Chen and Jin-Hui Fang, <a href="http://www.emis.de/journals/INTEGERS/papers/h19/h19.Abstract.html">Triangular numbers in geometric progression,</a> INTEGERS 7 (2007), #A19.

%H F. Javier de Vega, <a href="https://doi.org/10.17654/0972555523015">On the parabolic partitions of a number</a>, J. Alg., Num. Theor., and Appl. (2023) Vol. 61, No. 2, 135-169.

%H Colin Dickson et al., <a href="http://groups.google.com/group/alt.math.recreational/browse_thread/thread/7f1fb3d3cbba7219/0a63271688ab23dd">ratio of integers = sqrt(2)</a>, thread in newsgroup alt.math.recreational, March 7, 2004.

%H H. G. Forder, <a href="http://www.jstor.org/stable/3613403">A Simple Proof of a Result on Diophantine Approximation</a>, Math. Gaz., 47 (1963), 237-238.

%H M. Gardner, <a href="/A001110/a001110.jpg">Letter to N. J. A. Sloane, circa Aug 11 1980</a>, concerning A001110, A027568, A039596, etc.

%H Bill Gosper, <a href="http://gosper.org/triangsq.pdf">The Triangular Squares</a>, 2014.

%H Jon Grantham and Hester Graves, <a href="https://arxiv.org/abs/2009.04052">The abc Conjecture Implies That Only Finitely Many Cullen Numbers Are Repunits</a>, arXiv:2009.04052 [math.NT], 2020. Mentions this sequence.

%H Gillian Hatch, <a href="http://www.jstor.org/stable/3619989">Pythagorean Triples and Triangular Square Numbers</a>, Mathematical Gazette 79 (1995), 51-55.

%H P. Lafer, <a href="http://www.fq.math.ca/Scanned/9-1/lafer.pdf">Discovering the square-triangular numbers</a>, Fib. Quart., 9 (1971), 93-105.

%H Roger B. Nelson, <a href="http://www.jstor.org/stable/10.4169/math.mag.89.3.159">Multi-Polygonal Numbers</a>, Mathematics Magazine, Vol. 89, No. 3 (June 2016), pp. 159-164.

%H A. Nowicki, <a href="https://cs.uwaterloo.ca/journals/JIS/VOL18/Nowicki/nowicki3.html">The numbers a^2+b^2-dc^2</a>, J. Int. Seq. 18 (2015) # 15.2.3.

%H Matthew Parker, <a href="https://oeis.org/A001110/a001110_5K.7z">The first 5000 square triangular numbers (7-Zip compressed file)</a>

%H J. L. Pietenpol, A. V. Sylwester, E. Just, and R. M. Warten, <a href="https://doi.org/10.2307/2312558">Problem E 1473</a>, Amer. Math. Monthly, Vol. 69, No. 2 (Feb. 1962), pp. 168-169. (From the editorial note on p. 169 of this source, we learn that the question about the existence of perfect squares in the sequence of triangular numbers cropped up in the Euler-Goldbach Briefwechsel of 1730; the translation into English of the relevant letters can be found at <a href="https://core.ac.uk/download/pdf/154351315.pdf">Correspondence of Leonhard Euler with Christian Goldbach (part II), pp. 614-615</a>.) - _José Hernández_, May 24 2022

%H Vladimir Pletser, <a href="https://arxiv.org/abs/2101.00998">Recurrent Relations for Multiple of Triangular Numbers being Triangular Numbers</a>, arXiv:2101.00998 [math.NT], 2020.

%H Simon Plouffe, <a href="https://arxiv.org/abs/0911.4975">Approximations de séries génératrices et quelques conjectures</a>, Dissertation, Université du Québec à Montréal, 1992; arXiv:0911.4975 [math.NT], 2009.

%H Simon Plouffe, <a href="/A000051/a000051_2.pdf">1031 Generating Functions</a>, Appendix to Thesis, Montreal, 1992

%H D. A. Q., <a href="http://www.jstor.org/stable/3617837">Triangular square numbers - a postscript</a>, Math. Gaz., 56 (1972), 311-314.

%H K. Ramsey, <a href="http://groups.yahoo.com/group/Triangular_and_Fibonacci_Numbers/message/62">Re_Generalized_Proof_re_Square_Triangular_Numbers</a>

%H K. Ramsey, <a href="/A001108/a001108.txt">Generalized Proof re Square Triangular Numbers</a>, digest of 2 messages in Triangular_and_Fibonacci_Numbers Yahoo group, May 27, 2005 - Oct 10, 2011.

%H Fabio Roman, <a href="https://arxiv.org/abs/1703.06701">On certain ratios regarding integer numbers which are both triangulars and squares</a>, arXiv:1703.06701 [math.NT], 2017.

%H Jon E. Schoenfield, <a href="/A001110/a001110.txt">Prime factorization of a(n) for n = 1..300</a>

%H Jaap Spies, <a href="http://www.jaapspies.nl/bookb5.pdf">A Bit of Math, The Art of Problem Solving</a>, Jaap Spies Publishers (2019).

%H Ralf Stephan, <a href="https://www.ark.in-berlin.de/A001110.ps">Boring proof of a nonlinearity</a>

%H UWC, <a href="https://www.nieuwarchief.nl/serie5/pdf/naw5-2004-05-4-341.pdf">Problem A</a>, Nieuw Archief voor Wiskunde, Dec 2004; Jaap Spies, <a href="http://www.jaapspies.nl/mathfiles/problem2004-4A.pdf">Solution</a>.

%H Michel Waldschmidt, <a href="http://webusers.imj-prg.fr/~michel.waldschmidt/articles/pdf/ContinuedFractionsOujda2015.pdf">Continued fractions</a>, Ecole de recherche CIMPA-Oujda, Théorie des Nombres et ses Applications, 18 - 29 mai 2015: Oujda (Maroc).

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SquareTriangularNumber.html">Square Triangular Number</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/TriangularNumber.html">Triangular Number</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Triangular_square_number">Square triangular number</a>

%H H. C. Williams and R. K. Guy, <a href="http://dx.doi.org/10.1142/S1793042111004587">Some fourth-order linear divisibility sequences</a>, Intl. J. Number Theory 7 (5) (2011) 1255-1277.

%H H. C. Williams and R. K. Guy, <a href="http://www.emis.de/journals/INTEGERS/papers/a17self/a17self.Abstract.html">Some Monoapparitic Fourth Order Linear Divisibility Sequences</a>, Integers, Volume 12A (2012) The John Selfridge Memorial Volume.

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (35,-35,1).

%F a(0) = 0, a(1) = 1; for n >= 2, a(n) = 34 * a(n-1) - a(n-2) + 2.

%F G.f.: x*(1 + x) / (( 1 - x )*( 1 - 34*x + x^2 )).

%F a(n-1) * a(n+1) = (a(n)-1)^2. - Colin Dickson, posting to alt.math.recreational, Mar 07 2004

%F If L is a square-triangular number, then the next one is 1 + 17*L + 6*sqrt(L + 8*L^2). - _Lekraj Beedassy_, Jun 27 2001

%F a(n) - a(n-1) = A046176(n). - Sophie Kuo (ejiqj_6(AT)yahoo.com.tw), May 27 2006

%F a(n) = A001109(n)^2 = A001108(n)*(A001108(n)+1)/2 = (A000129(n)*A001333(n))^2 = (A000129(n)*(A000129(n) + A000129(n-1)))^2. - _Henry Bottomley_, Apr 19 2000

%F a(n) = (((17+12*sqrt(2))^n) + ((17-12*sqrt(2))^n)-2)/32. - Bruce Corrigan (scentman(AT)myfamily.com), Oct 26 2002

%F Limit_{n->oo} a(n+1)/a(n) = 17 + 12*sqrt(2). See UWC problem link and solution. - _Jaap Spies_, Dec 12 2004

%F From _Antonio Alberto Olivares_, Nov 07 2003: (Start)

%F a(n) = 35*(a(n-1) - a(n-2)) + a(n-3);

%F a(n) = -1/16 + ((-24 + 17*sqrt(2))/2^(11/2))*(17 - 12*sqrt(2))^(n-1) + ((24 + 17*sqrt(2))/2^(11/2))*(17 + 12*sqrt(2))^(n-1). (End)

%F a(n+1) = (17*A029547(n) - A091761(n) - 1)/16. - _R. J. Mathar_, Nov 16 2007

%F a(n) = A001333^2 * A000129^2 = A000129(2*n)^2/4 = binomial(A001108,2). - _Bill Gosper_, Jul 28 2008

%F Closed form (as square = triangular): ( (sqrt(2)+1)^(2*n)/(4*sqrt(2)) - (1-sqrt(2))^(2*n)/(4*sqrt(2)) )^2 = (1/2) * ( ( (sqrt(2)+1)^n / 2 - (sqrt(2)-1)^n / 2 )^2 + 1 )*( (sqrt(2)+1)^n / 2 - (sqrt(2)-1)^n / 2 )^2. - _Bill Gosper_, Jul 25 2008

%F a(n) = (1/8)*(sinh(2*n*arcsinh(1)))^2. - _Artur Jasinski_, Feb 10 2010

%F a(n) = floor((17 + 12*sqrt(2))*a(n-1)) + 3 = floor(3*sqrt(2)/4 + (17 + 12*sqrt(2))*a(n-1) + 1). - _Manuel Valdivia_, Aug 15 2011

%F a(n) = (A011900(n) + A001652(n))^2; see the link about the generalized proof of square triangular numbers. - _Kenneth J Ramsey_, Oct 10 2011

%F a(2*n+1) = A002315(n)^2*(A002315(n)^2 + 1)/2. - _Ivan N. Ianakiev_, Oct 10 2012

%F a(2*n+1) = ((sqrt(t^2 + (t+1)^2))*(2*t+1))^2, where t = (A002315(n) - 1)/2. - _Ivan N. Ianakiev_, Nov 01 2012

%F a(2*n) = A001333(2*n)^2 * (A001333(2*n)^2 - 1)/2, and a(2*n+1) = A001333(2*n+1)^2 * (A001333(2*n+1)^2 + 1)/2. The latter is equivalent to the comment above from Ivan using A002315, which is a bisection of A001333. Using A001333 shows symmetry and helps show that a(n) are both "squares of triangular" and "triangular of squares". - _Richard R. Forberg_, Aug 30 2013

%F a(n) = (A001542(n)/2)^2.

%F From _Peter Bala_, Apr 03 2014: (Start)

%F a(n) = (T(n,17) - 1)/16, where T(n,x) denotes the Chebyshev polynomial of the first kind.

%F a(n) = U(n-1,3)^2, for n >= 1, where U(n,x) denotes the Chebyshev polynomial of the second kind.

%F a(n) = the bottom left entry of the 2 X 2 matrix T(n, M), where M is the 2 X 2 matrix [0, -17; 1, 18].

%F See the remarks in A100047 for the general connection between Chebyshev polynomials of the first kind and 4th-order linear divisibility sequences. (End)

%F a(n) = A096979(2*n-1) for n > 0. - _Ivan N. Ianakiev_, Jun 21 2014

%F a(n) = (6*sqrt(a(n-1)) - sqrt(a(n-2)))^2. - _Arkadiusz Wesolowski_, Apr 06 2015

%F From _Daniel Poveda Parrilla_, Jul 16 2016 and Sep 21 2016: (Start)

%F a(n) = A000290(A002965(2*n)*A002965(2*n + 1)) (after _Hugh Darwen_).

%F a(n) = A000217(2*(A000129(n))^2 - (A000129(n) mod 2)).

%F a(n) = A000129(n)^4 + Sum_{k=0..(A000129(n)^2 - (A000129(n) mod 2))} 2*k. This formula can be proved graphically by taking the corresponding triangle of a square triangular number and cutting both acute angles, one level at a time (sum of consecutive even numbers), resulting in a square of squares (4th powers).

%F a(n) = A002965(2*n)^4 + Sum_{k=A002965(2*n)^2..A002965(2*n)*A002965(2*n + 1) - 1} 2*k + 1. This formula takes an equivalent sum of consecutives, but odd numbers. (End)

%F E.g.f.: (exp((17-12*sqrt(2))*x) + exp((17+12*sqrt(2))*x) - 2*exp(x))/32. - _Ilya Gutkovskiy_, Jul 16 2016

%e a(2) = ((17 + 12*sqrt(2))^2 + (17 - 12*sqrt(2))^2 - 2)/32 = (289 + 24*sqrt(2) + 288 + 289 - 24*sqrt(2) + 288 - 2)/32 = (578 + 576 - 2)/32 = 1152/32 = 36 and 6^2 = 36 = 8*9/2 => a(2) is both the 6th square and the 8th triangular number.

%p a:=17+12*sqrt(2); b:=17-12*sqrt(2); A001110:=n -> expand((a^n + b^n - 2)/32); seq(A001110(n), n=0..20); # _Jaap Spies_, Dec 12 2004

%p A001110:=-(1+z)/((z-1)*(z**2-34*z+1)); # _Simon Plouffe_ in his 1992 dissertation

%t f[n_]:=n*(n+1)/2; lst={}; Do[If[IntegerQ[Sqrt[f[n]]],AppendTo[lst,f[n]]],{n,0,10!}]; lst (* _Vladimir Joseph Stephan Orlovsky_, Feb 12 2010 *)

%t Table[(1/8) Round[N[Sinh[2 n ArcSinh[1]]^2, 100]], {n, 0, 20}] (* _Artur Jasinski_, Feb 10 2010 *)

%t Transpose[NestList[Flatten[{Rest[#],34Last[#]-First[#]+2}]&, {0,1},20]][[1]] (* _Harvey P. Dale_, Mar 25 2011 *)

%t LinearRecurrence[{35, -35, 1}, {0, 1, 36}, 20] (* _T. D. Noe_, Mar 25 2011 *)

%t LinearRecurrence[{6,-1},{0,1},20]^2 (* _Harvey P. Dale_, Oct 22 2012 *)

%t (* Square = Triangular = Triangular = A001110 *)

%t ChebyshevU[#-1,3]^2==Binomial[ChebyshevT[#/2,3]^2,2]==Binomial[(1+ChebyshevT[#,3])/2,2]=={1,36,1225,41616,1413721}[[#]]&@Range[5]

%t True (* _Bill Gosper_, Jul 20 2015 *)

%t L=0;r={};Do[AppendTo[r,L];L=1+17*L+6*Sqrt[L+8*L^2],{i,1,19}];r (* _Kebbaj Mohamed Reda_, Aug 02 2023 *)

%o (PARI) a=vector(100);a[1]=1;a[2]=36;for(n=3,#a,a[n]=34*a[n-1]-a[n-2]+2);a \\ _Charles R Greathouse IV_, Jul 25 2011

%o (Haskell)

%o a001110 n = a001110_list !! n

%o a001110_list = 0 : 1 : (map (+ 2) $

%o zipWith (-) (map (* 34) (tail a001110_list)) a001110_list)

%o -- _Reinhard Zumkeller_, Oct 12 2011

%o (MIT/GNU Scheme, with memoizing definec-macro from _Antti Karttunen_'s IntSeq-library)

%o (definec (A001110 n) (if (< n 2) n (+ 2 (- (* 34 (A001110 (- n 1))) (A001110 (- n 2))))))

%o ;; The following two are for testing whether n is in this sequence:

%o (define (inA001110? n) (and (zero? (A068527 n)) (inA001109? (floor->exact (sqrt n)))))

%o (define (inA001109? n) (= (* 8 n n) (floor->exact (* (sqrt 8) n (ceiling->exact (* (sqrt 8) n))))))

%o ;; _Antti Karttunen_, Dec 06 2013

%o (Magma) [n le 2 select n-1 else Floor((6*Sqrt(Self(n-1)) - Sqrt(Self(n-2)))^2): n in [1..20]]; // _Vincenzo Librandi_, Jul 22 2015

%Y Cf. A001108, A001109.

%Y Other S_r type sequences are S_4=A000290, S_5=A004146, S_7=A054493, S_8=A001108, S_9=A049684, S_20=A049683, S_36=this sequence, S_49=A049682, S_144=A004191^2.

%Y Cf. A001014; intersection of A000217 and A000290; A010052(a(n))*A010054(a(n)) = 1.

%Y Cf. A005214, A054686, A232847 and also A233267 (reveals an interesting divisibility pattern for this sequence).

%Y Cf. A240129 (triangular numbers that are squares of triangular numbers), A100047.

%Y See A229131, A182334, A299921 for near-misses.

%K nonn,easy,nice,changed

%O 0,3

%A _N. J. A. Sloane_

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 May 4 07:22 EDT 2024. Contains 372230 sequences. (Running on oeis4.)