# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/
Search: id:a195036
Showing 1-1 of 1
%I A195036 #39 Sep 08 2022 08:45:59
%S A195036 0,15,23,53,69,114,138,198,230,305,345,435,483,588,644,764,828,963,
%T A195036 1035,1185,1265,1430,1518,1698,1794,1989,2093,2303,2415,2640,2760,
%U A195036 3000,3128,3383,3519,3789,3933,4218,4370,4670,4830,5145,5313,5643,5819,6164,6348
%N A195036 Vertex number of a square spiral in which the length of the first two edges are the legs of the primitive Pythagorean triple [15, 8, 17]. The edges of the spiral have length A195035.
%C A195036 Zero together with partial sums of A195035.
%C A195036 The only primes in the sequence are 23 and 53 since a(n) = (1/2)*((2*n+(-1)^n+3)/4)*((46*n-37*(-1)^n+37)/4). - _Bruno Berselli_, Sep 30 2011
%C A195036 The spiral contains infinitely many Pythagorean triples in which the hypotenuses on the main diagonal are the positives multiples of 17 (Cf. A008599). The vertices on the main diagonal are the numbers A195039 = (15+8)*A000217 = 23*A000217, where both 15 and 8 are the first two edges in the spiral. The distance "a" between nearest edges that are perpendicular to the initial edge of the spiral is 15, while the distance "b" between nearest edges that are parallel to the initial edge is 8, so the distance "c" between nearest vertices on the same axis is 17 because from the Pythagorean theorem we can write c = (a^2+b^2)^(1/2) = sqrt(15^2+8^2) = sqrt(225+64) = sqrt(289) = 17. - _Omar E. Pol_, Oct 12 2011
%H A195036 Vincenzo Librandi, Table of n, a(n) for n = 0..10000
%H A195036 Ron Knott, Pythagorean triangles and triples
%H A195036 Eric Weisstein's World of Mathematics, Pythagorean Triple
%H A195036 Index entries for linear recurrences with constant coefficients, signature (1,2,-2,-1,1).
%F A195036 From _Bruno Berselli_, Sep 30 2011: (Start)
%F A195036 G.f.: x*(15+8*x)/((1+x)^2*(1-x)^3).
%F A195036 a(n) = (2*n*(23*n+53) - (14*n+37)*(-1)^n + 37)/16.
%F A195036 a(n) = a(n-1) + 2*a(n-2) - 2*a(n-3) - a(n-4) + a(n-5). (End)
%o A195036 (Magma) [(2*n*(23*n+53)-(14*n+37)*(-1)^n+37)/16: n in [0..46]]; // _Bruno Berselli_, Sep 30 2011
%o A195036 (PARI) a(n)=(2*n*(23*n+53)-(14*n+37)*(-1)^n+37)/16 \\ _Charles R Greathouse IV_, Oct 07 2015
%Y A195036 Cf. A195020, A195032, A195034, A195035, A195039.
%K A195036 nonn,easy
%O A195036 0,2
%A A195036 _Omar E. Pol_, Sep 12 2011
%E A195036 More terms from _Bruno Berselli_, Sep 30 2011
# Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE