login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A078927 Smallest s for which there are exactly n primitive Pythagorean triangles with perimeter 2s; i.e. smallest s such that A078926(s) = n. 2
6, 858, 7140, 158730, 771342, 3120180, 9699690, 31651620 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

A Pythagorean triangle is a right triangle whose edge lengths are all integers; such a triangle is 'primitive' if the lengths are relatively prime.

EXAMPLE

a(2)=858; the primitive Pythagorean triangles with edge lengths (364, 627, 725) and (195, 748, 773) both have perimeter 2*858=1716.

MATHEMATICA

oddpart[n_] := If[OddQ[n], n, oddpart[n/2]]; ct[p_] := Length[Select[Divisors[oddpart[p/2]], p/2<#^2<p&&GCD[ #, p/2/# ]==1&]]; a[n_] := For[s=1, True, s++, If[ct[2s]==n, Return[s]]]

CROSSREFS

a(n) = A078928(n)/2. Cf. A078926.

Sequence in context: A045480 A006114 A201141 * A064430 A180992 A137801

Adjacent sequences:  A078924 A078925 A078926 * A078928 A078929 A078930

KEYWORD

nonn,more

AUTHOR

Dean Hickerson (dean.hickerson(AT)yahoo.com), Dec 15 2002

EXTENSIONS

a(8) from Robert G. Wilson v (rgwv(AT)rgwv.com), Dec 19 2002

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 16:49 EST 2012. Contains 206058 sequences.