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!)
A328499 The number of primitive Pythagorean triangles with perimeter less than n. 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,30
COMMENTS
D. N. Lehmer has proved that the asymptotic density of a(n) is a(n)/n = log(2)/Pi^2 = 0.07023049... See A118858.
LINKS
D. N. Lehmer, Asymptotic evaluation of certain totient sums, Amer. J. Math. 22, 293-335, 1900.
EXAMPLE
For n=90, the triples are
{3, 4, 5}, 3 + 4 + 5 = 12 < 90
{5, 12, 13}, 5 + 12 + 13 = 30 < 90
{7, 24, 25}, 7 + 24 + 25 = 56 < 90
{8, 15, 17}, 8 + 15 + 17 = 40 < 90
{9, 40, 41}, 9 + 40 + 41 = 90
{12, 35, 37}, 12 + 35 + 37 = 84 < 90
{20, 21, 29}, 20 + 21 + 29 = 70 < 90
so a(90)=7.
CROSSREFS
Sequence in context: A111897 A185711 A185712 * A339183 A135665 A135662
KEYWORD
nonn,easy
AUTHOR
Mo Li, Oct 17 2019
STATUS
approved

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 3 22:17 EDT 2024. Contains 372225 sequences. (Running on oeis4.)