OFFSET
1,2
COMMENTS
This sequence might also be called "The Non-Pythagorean integers" since no primitive Pythagorean triangle (PPT) exists containing them. Numbers of the form 4n-2 cannot be a leg or hypotenuse of PPT [a,b,c]. This excludes all even members of the present sequence. Integers 1 and zero are excluded because they form a 'degenerate triangle' with angles = 0. Compare A125667. - H. Lee Price, Feb 02 2007
Besides the first term this sequence is the denominator of Pi/8 = 1/2 - 1/6 + 1/10 - 1/14 + 1/18 - 1/22 + .... - Mohammad K. Azarian, Oct 14 2011
REFERENCES
Mohammad K. Azarian, Problem 1218, Pi Mu Epsilon Journal, Vol. 13, No. 2, Spring 2010, p. 116. Solution published in Vol. 13, No. 3, Fall 2010, pp. 183-185.
Granino A. Korn and Theresa M. Korn, Mathematical Handbook for Scientists and Engineers, McGraw-Hill Book Company, New York (1968).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
M. Albert, R. Aldred, M. Atkinson, C Handley, D. Holton, D. McCaughan and H. van Ditmarsch, Sorting Classes, Elec. J. of Comb. 12 (2005) R31
Index entries for linear recurrences with constant coefficients, signature (2,-1).
FORMULA
a(n) = 4*n-6, n>=2.
a(n) = A016825(n-2), n>1. - R. J. Mathar, Aug 18 2008
G.f.: x(1+3x^2)/(1-x)^2. - R. J. Mathar, Nov 10 2008
a(n^2 - 2n + 3)/2 = Sum_{i=1..n} a(i). - Ivan N. Ianakiev, Apr 24 2013
a(n) = 2*a(n-1) - a(n-2), n>3. - Rick L. Shepherd, Jul 06 2017
E.g.f.: 3*(x + 2) + exp(x)*(4*x - 6). - Stefano Spezia, Feb 02 2023
MATHEMATICA
Table[If[n == 1, 1, 4n - 6], {n, 60}] (* Robert G. Wilson v, Nov 04 2005 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Len Smiley, Nov 01 2005
STATUS
approved