login

Revision History for A229849

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Consider all primitive 120-degree triangles with sides A < B < C. The sequence gives the values of B.
(history; published version)
#10 by T. D. Noe at Sun Oct 06 15:29:00 EDT 2013
STATUS

proposed

approved

#9 by Colin Barker at Sun Oct 06 09:39:34 EDT 2013
STATUS

editing

proposed

#8 by Colin Barker at Sun Oct 06 09:39:26 EDT 2013
CROSSREFS
STATUS

proposed

editing

#7 by Colin Barker at Sun Oct 06 08:21:33 EDT 2013
STATUS

editing

proposed

#6 by Colin Barker at Sun Oct 06 08:20:52 EDT 2013
PROG

\\ e.g. pt120b(10080) gives [5, 8, 16, 24, 33, 35, 39, 45, 51, 56, 57, 63, 77, 80, 85, 88, 91, 95]

#5 by Colin Barker at Sun Oct 06 08:18:21 EDT 2013
NAME

allocated for Colin BarkerConsider all primitive 120-degree triangles with sides A < B < C. The sequence gives the values of B.

DATA

5, 8, 16, 24, 33, 35, 39, 45, 51, 56, 57, 63, 77, 80, 85, 88, 91, 95, 105, 112, 115, 120, 143, 145, 155, 160, 161, 165, 168, 175, 187, 192, 195, 203, 208, 209, 217, 221, 224, 231, 247, 253, 259, 261, 272, 273, 279, 280, 287, 288, 299, 301, 304, 315, 320, 323

OFFSET

1,1

COMMENTS

A primitive triangle is one for which the sides have no common factor.

For n>1, A106505(n) seems to give the values of A and A004611(n) seems to give the values of C.

LINKS

Wikipedia, <a href="https://en.wikipedia.org/wiki/Integer_triangle">Integer triangle</a>

EXAMPLE

33 appears in the sequence because there exists a primitive 120-degree triangle with sides 7, 33 and 37.

PROG

(PARI)

\\ Gives values of B not exceeding bmax

\\ e.g. pt120b(100) gives [5, 8, 16, 24, 33, 35, 39, 45, 51, 56, 57, 63, 77, 80, 85, 88, 91, 95]

pt120b(bmax) = {

s=[];

for(m=1, (bmax-1)\2,

for(n=1, m-1,

if((m-n)%3!=0 && gcd(m, n)==1,

a=m*m-n*n;

b=n*(2*m+n);

if(a>b, b=a);

if(b<=bmax, s=concat(s, b))

)

)

);

vecsort(s, , 8)

}

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

Colin Barker, Oct 06 2013

STATUS

approved

editing

#4 by Colin Barker at Tue Oct 01 11:35:34 EDT 2013
NAME

Consider all primitive 120-degree triangles with sides A < B < C. The sequence gives the values of B.

allocated for Colin Barker

DATA

5, 8, 16, 24, 33, 35, 39, 45, 51, 56, 57, 63, 77, 80, 85, 88, 91, 95, 105, 112, 115, 120, 143, 145, 155, 160, 161, 165, 168, 175, 187, 192, 195, 203, 208, 209, 217, 221, 224, 231, 247, 253, 259, 261, 272, 273, 279, 280, 287, 288, 299, 301, 304, 315, 320, 323

OFFSET

1,1

COMMENTS

A primitive triangle is one for which the sides have no common factor.

A229848 gives the values of A, and A004611 gives the values of C.

EXAMPLE

33 appears in the sequence because there exists a primitive 120-degree triangle with sides 7, 33 and 37.

CROSSREFS
KEYWORD

nonn,changed

allocated

AUTHOR

Colin Barker, Oct 01 2013

STATUS

proposed

approved

#3 by Colin Barker at Tue Oct 01 09:30:38 EDT 2013
STATUS

editing

proposed

#2 by Colin Barker at Tue Oct 01 08:25:58 EDT 2013
NAME

allocated for Colin BarkerConsider all primitive 120-degree triangles with sides A < B < C. The sequence gives the values of B.

DATA

5, 8, 16, 24, 33, 35, 39, 45, 51, 56, 57, 63, 77, 80, 85, 88, 91, 95, 105, 112, 115, 120, 143, 145, 155, 160, 161, 165, 168, 175, 187, 192, 195, 203, 208, 209, 217, 221, 224, 231, 247, 253, 259, 261, 272, 273, 279, 280, 287, 288, 299, 301, 304, 315, 320, 323

OFFSET

1,1

COMMENTS

A primitive triangle is one for which the sides have no common factor.

A229848 gives the values of A, and A004611 gives the values of C.

EXAMPLE

33 appears in the sequence because there exists a primitive 120-degree triangle with sides 7, 33 and 37.

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

Colin Barker, Oct 01 2013

STATUS

approved

editing

#1 by Colin Barker at Tue Oct 01 08:01:40 EDT 2013
NAME

allocated for Colin Barker

KEYWORD

allocated

STATUS

approved