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.

Showing 1-4 of 4 results.

A198457 Consider triples (a, b, c) where a <= b < c and (a^2+b^2-c^2)/(c-a-b) = 2, ordered by a and then b; sequence gives a, b and c values in that order.

Original entry on oeis.org

3, 6, 7, 4, 4, 6, 5, 16, 17, 6, 10, 12, 7, 8, 11, 7, 30, 31, 8, 18, 20, 9, 14, 17, 9, 48, 49, 10, 12, 16, 10, 28, 30, 11, 70, 71, 12, 18, 22, 12, 40, 42, 13, 16, 21, 13, 30, 33, 13, 96, 97, 14, 25, 29, 14, 54, 56, 15, 22, 27, 15, 40, 43, 15, 126, 127, 16, 20, 26
Offset: 1

Views

Author

Charlie Marion, Nov 09 2011

Keywords

Comments

See A198453.
Because either all sides or only one side of a Pythagorean (-+2)-triangle ABC is even their sum is always even. Thus csc(C) = -(a+b+c+k)/k is an integer. So ((a+2)^2 + (b+2)^2 - (c+2)^2)|(2*(a+2)*(b+2)) resp. (a^2 + b^2 - c^2)|(2*a*b). - Ralf Steiner, Sep 18 2019

Examples

			3*5 +  6*8  =  7*9;
4*6 +  4*6  =  6*8;
5*7 + 16*17 = 17*18;
6*8 + 10*12 = 12*14;
7*9 +  8*10 = 11*13;
7*9 + 30*32 = 31*33.
		

References

  • A. H. Beiler, Recreations in the Theory of Numbers, Dover, New York, 1964, pp. 104-134.

Crossrefs

Extensions

More terms from David A. Corneth, Sep 22 2019

A198455 Consider triples a<=b

Original entry on oeis.org

2, 5, 9, 6, 14, 9, 20, 27, 10, 35, 13, 21, 44, 26, 54, 14, 20, 65, 17, 24, 77, 44, 90, 14, 18, 33, 51, 104, 21, 38, 119, 135, 22, 49, 75, 152, 25, 55, 84, 170, 35, 45, 189, 26, 39, 50, 68, 209, 29, 35, 75, 114, 230, 125
Offset: 1

Views

Author

Charlie Marion, Oct 26 2011

Keywords

Comments

See A198453.
The definition amounts to saying that T_a+T_b=T_c where T_i denotes a triangular number (A000217). - N. J. A. Sloane, Apr 01 2020

Examples

			2*3 + 2*3 = 3*4
3*4 + 5*6 = 6*7
4*5 + 9*10 = 10*11
5*6 + 6*7 = 8*9
5*6 + 14*15 = 15*16
6*7 + 9*10 = 11*12
		

References

  • A. H. Beiler, Recreations in the Theory of Numbers, Dover, New York, 1964, pp. 104-134.

Crossrefs

A333530 Make a list of triples [n,k,m] with n>=1, k>=1, and T_n+T_k = T_m as in A309507, arranged in lexicographic order; sequence gives values of k.

Original entry on oeis.org

2, 5, 9, 3, 6, 14, 5, 9, 20, 27, 10, 35, 4, 6, 13, 21, 44, 8, 26, 54, 14, 20, 65, 17, 24, 77, 9, 44, 90, 5, 11, 14, 18, 33, 51, 104, 21, 38, 119, 135, 12, 22, 49, 75, 152, 14, 25, 55, 84, 170, 35, 45, 189, 6, 11, 26, 39, 50, 68, 209, 9, 15, 29, 35, 75, 114, 230, 17, 252
Offset: 1

Views

Author

N. J. A. Sloane, Apr 01 2020

Keywords

Examples

			The first few triples are:
2, 2, 3
3, 5, 6
4, 9, 10
5, 3, 6
5, 6, 8
5, 14, 15
6, 5, 8
6, 9, 11
6, 20, 21
7, 27, 28
8, 10, 13
8, 35, 36
9, 4, 10
9, 6, 11
9, 13, 16
9, 21, 23
9, 44, 45
10, 8, 13
10, 26, 28
10, 54, 55
11, 14, 18
11, 20, 23
11, 65, 66
12, 17, 21
12, 24, 27
12, 77, 78
...
		

Crossrefs

If we only take triples [n,k,m] with n <= k <= m, the values of k and m are A198455 and A198456 respectively.

Programs

  • Maple
    # This program produces the triples for each value of n, but then they need to be sorted on k:
    with(numtheory):
    A:=[]; M:=100;
    for n from 1 to M do
    TT:=n*(n+1);
    dlis:=divisors(TT);
      for d in dlis do
    if (d mod 2) = 1 then e := TT/d;
    mi:=min(d,e); ma:=max(d,e);
    k:=(ma-mi-1)/2;
    m:=(ma+mi-1)/2;
    # skip if k=0
        if k>0 then
         lprint(n,k,m);
        fi;
    fi;
    od:
    od:

A333531 Make a list of triples [n,k,m] with n>=1, k>=1, and T_n+T_k = T_m as in A309507, arranged in lexicographic order; sequence gives values of m.

Original entry on oeis.org

3, 6, 10, 6, 8, 15, 8, 11, 21, 28, 13, 36, 10, 11, 16, 23, 45, 13, 28, 55, 18, 23, 66, 21, 27, 78, 16, 46, 91, 15, 18, 20, 23, 36, 53, 105, 26, 41, 120, 136, 21, 28, 52, 77, 153, 23, 31, 58, 86, 171, 40, 49, 190, 21, 23, 33, 44, 54, 71, 210, 23, 26, 36, 41, 78, 116, 231, 28, 253
Offset: 1

Views

Author

N. J. A. Sloane, Apr 01 2020

Keywords

Examples

			The first few triples are:
2, 2, 3
3, 5, 6
4, 9, 10
5, 3, 6
5, 6, 8
5, 14, 15
6, 5, 8
6, 9, 11
6, 20, 21
7, 27, 28
8, 10, 13
8, 35, 36
9, 4, 10
9, 6, 11
9, 13, 16
9, 21, 23
9, 44, 45
10, 8, 13
10, 26, 28
10, 54, 55
11, 14, 18
11, 20, 23
11, 65, 66
12, 17, 21
12, 24, 27
12, 77, 78
...
		

Crossrefs

If we only take triples [n,k,m] with n <= k <= m, the values of k and m are A198455 and A198456 respectively.

Programs

  • Maple
    # This program produces the triples for each value of n, but then they need to be sorted on k:
    with(numtheory):
    A:=[]; M:=100;
    for n from 1 to M do
    TT:=n*(n+1);
    dlis:=divisors(TT);
    for d in dlis do
    if (d mod 2) = 1 then e := TT/d;
    mi:=min(d,e); ma:=max(d,e);
    k:=(ma-mi-1)/2;
    m:=(ma+mi-1)/2;
    # skip if k=0
    if k>0 then
    lprint(n,k,m);
    fi;
    fi;
    od:
    od:
Showing 1-4 of 4 results.