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.

A261654 Lead almost-Pythagorean triples generated by primitive Pythagorean triples of the form (2i-1, 2i^2-2i, 2i^2-2i+1), i >= 2.

This page as a plain text file.
%I A261654 #42 Feb 02 2019 10:42:33
%S A261654 4,7,8,6,17,18,8,31,32,10,49,50,12,71,72,14,97,98,16,127,128,18,161,
%T A261654 162,20,199,200,22,241,242,24,287,288,26,337,338,28,391,392,30,449,
%U A261654 450,32,511,512,34,577,578
%N A261654 Lead almost-Pythagorean triples generated by primitive Pythagorean triples of the form (2i-1, 2i^2-2i, 2i^2-2i+1), i >= 2.
%C A261654 A set of ordered triple (x,y,z) that satisfies the equation x^2 + y^2 = z^2 + 1 is called an almost-Pythagorean triple (APT).
%C A261654 The triples (x,y,z)=[(2i-1)k+1,(2i^2-2i)k+(2i-1),(2i^2-2i+1)k+(2i-1)] and (x',y',z')=[(2i-1)k+(2i-2),(2i^2-2i)k+(2i^2-4i+1),(2i^2-2i+1)k+(2i^2-4i+2)] are APTs for all integers k and i >= 2.
%C A261654 Note that in terms of components, (x,y,z) < (x',y',z').
%C A261654 Setting k=1 in the first expression gives the terms of this sequence.
%H A261654 John Rafael M. Antalan, Mark D. Tomenes, <a href="http://arxiv.org/abs/1508.07562">A Note on Generating Almost Pythagorean Triples</a>, arXiv:1508.07562 [math.NT], 2015.
%H A261654 O. Frink, <a href="http://www.jstor.org/stable/2689346">Almost Pythagorean Triples</a>, Mathematics Magazine, Vol.60, No.4, (1987), pp.234-236.
%F A261654 (x,y,z) = [(2i-1)k+1,(2i^2-2i)k+(2i-1),(2i^2-2i+1)k+(2i-1)], with i>=2 and k=1.
%e A261654 When k=1 and i=2 the formula for (x,y,z) gives the Lead APT (4,7,8).
%e A261654 First rows are:
%e A261654    4,  7,  8;
%e A261654    6, 17, 18;
%e A261654    8, 31, 32;
%e A261654   10, 49, 50;
%e A261654   12, 71, 72;
%e A261654   14, 97, 98;
%e A261654   ...
%t A261654 xyz[i_] := {2i, 2i^2-1, 2i^2};
%t A261654 Array[xyz, 16, 2] // Flatten (* _Jean-François Alcover_, Feb 02 2019 *)
%o A261654 (PARI) tabf(nn) = for (i=2, nn, print(2*i, ", ", 2*i^2-1, ", ", 2*i^2)); \\ _Michel Marcus_, Aug 31 2015
%Y A261654 For the 3 columns, cf. A005843, A056220, A001105.
%K A261654 nonn,tabf
%O A261654 1,1
%A A261654 _John Rafael M. Antalan_, Aug 30 2015