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.

Previous Showing 11-15 of 15 results.

A162818 Strictly positive numbers n such that (42*n)/(42+n) is an integer.

Original entry on oeis.org

7, 21, 42, 56, 84, 105, 154, 210, 252, 399, 546, 840, 1722
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    f[a_,b_]:=(a*b)/(a+b); a=42;lst={};Do[If[f[a,n]==IntegerPart[f[a,n]],AppendTo[lst,n]],{n,9!}];lst
    Select[Range[2000], Divisible[42 #, 42 + #] &] (* Harvey P. Dale, May 09 2012 *)

Extensions

Keywords fini and full added by Franklin T. Adams-Watters, Aug 07 2009

A162819 Positive numbers n such that 48*n/(48+n) are integers.

Original entry on oeis.org

16, 24, 48, 80, 96, 144, 208, 240, 336, 528, 720, 1104, 2256
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    f[a_,b_]:=(a*b)/(a+b); a=48;lst={};Do[If[f[a,n]==IntegerPart[f[a,n]], AppendTo[lst,n]],{n,9!}];lst
    Select[Range[2300],IntegerQ[(48#)/(48+#)]&] (* Harvey P. Dale, Dec 18 2018 *)

Extensions

Keywords fini,full added by R. J. Mathar, Jul 31 2009

A162820 Positive numbers n such that 60*n/(60+n) are integers.

Original entry on oeis.org

12, 15, 20, 30, 40, 60, 84, 90, 120, 140, 165, 180, 240, 300, 340, 390, 540, 660, 840, 1140, 1740, 3540
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    f[a_,b_]:=(a*b)/(a+b); a=60;lst={};Do[If[f[a,n]==IntegerPart[f[a,n]], AppendTo[lst,n]],{n,9!}];lst

Extensions

Keywords fini,full added by R. J. Mathar, Jul 31 2009

A191973 Irregular triangle read by rows: row n consists of n and the positive integers m where m-n divides m*n.

Original entry on oeis.org

1, 2, 1, 2, 3, 4, 6, 2, 3, 4, 6, 12, 2, 3, 4, 5, 6, 8, 12, 20, 4, 5, 6, 10, 30, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 18, 24, 42, 6, 7, 8, 14, 56, 4, 6, 7, 8, 9, 10, 12, 16, 24, 40, 72, 6, 8, 9, 10, 12, 18, 36, 90, 5, 6, 8, 9, 10, 11, 12, 14, 15, 20, 30, 35, 60
Offset: 1

Views

Author

Nathaniel Johnston, Jun 22 2011

Keywords

Comments

The maximum term of the n-th row is n*(n+1). The minimum term of the n-th row seems to be A063428(n) if n>=2. The length of row n is A146564(n) + 1.

Examples

			The triangle begins:
1 2
1 2 3 4  6
2 3 4 6  12
2 3 4 5  6  8  12 20
4 5 6 10 30
2 3 4 5  6  7  8  9  10 12 15 18 24 42
6 7 8 14 56
...
		

Crossrefs

Cf. A162821 (row 30), A162822 (row 36), A162823 (row 42), A162824 (row 48), A162825 (row 60), A127730.

Programs

  • Maple
    for n from 1 to 10 do for m from 1 to n*(n+1) do if(n=m or m*n mod (m-n) = 0)then printf("%d, ",m): fi: od: od:

A127731 Triangle read by rows, where row n consists of the r's where r = (n*m)/(n+m) and the m's are positive integers such that (n+m) divides (n*m).

Original entry on oeis.org

1, 2, 2, 3, 4, 2, 3, 4, 5, 6, 4, 6, 7, 6, 8, 5, 6, 8, 9, 10, 3, 4, 6, 8, 9, 10, 11, 12, 7, 10, 12, 13, 6, 10, 12, 14, 8, 12, 14, 15, 16, 6, 9, 12, 14, 15, 16, 17, 18, 4, 10, 12, 15, 16, 18, 19, 12, 14, 18, 20, 11, 18, 20, 21, 22, 6, 8, 12, 15, 16, 18, 20, 21, 22, 23, 20, 24, 13, 22, 24, 25
Offset: 2

Views

Author

Leroy Quet, Jan 26 2007

Keywords

Comments

The maximum term of the n-th row, for n >= 2, is (n-1). The minimum term of row n is A063428(n), for n >= 3. Row n contains A063647(n) terms (according to a comment by Benoit Cloitre). For p prime, row p^k has k terms. (Each term in row p^k is of the form p^(k-j)*(p^j -1), 1<=j<=k.)

Examples

			Row 6 is (2,3,4,5) because row 6 of irregular array A127730 is (3,6,12,30); and (6*3)/(6+3) = 2, (6*6)/(6+6) = 3, (6*12)/(6+12) = 4 and (6*30)/(6+30) = 5.
		

Crossrefs

Programs

  • Mathematica
    f[n_] := Select[Table[n*m/(n + m), {m, n^2}], IntegerQ];Table[f[n], {n, 2, 26}] // Flatten (* Ray Chandler, Feb 13 2007 *)

Extensions

Extended by Ray Chandler, Feb 13 2007
Previous Showing 11-15 of 15 results.