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-2 of 2 results.

A127562 a(1)=1. a(2)=2. For n>=3, a(n) is the smallest positive integer not occurring earlier in the sequence such that (Sum_{k=1..n} a(k)) divides Product_{j=1..n} a(j).

Original entry on oeis.org

1, 2, 3, 6, 4, 8, 12, 18, 10, 16, 20, 25, 19, 27, 9, 36, 24, 30, 15, 35, 22, 33, 5, 38, 14, 43, 11, 26, 13, 7, 28, 34, 31, 21, 17, 23, 29, 39, 44, 42, 40, 32, 45, 51, 37, 47, 48, 50, 52, 46, 56, 60, 41, 55, 54, 58, 53, 57, 49, 62, 59, 61, 63, 64, 65, 69, 66, 70, 68, 73, 71, 77, 67
Offset: 1

Views

Author

Leroy Quet, Jan 18 2007

Keywords

Comments

Is this a permutation of the positive integers?

Examples

			a(1)+a(2)+a(3)+a(4)+a(5)+a(6) = 1+2+3+6+4+8 = 24. a(1)*a(2)*a(3)*a(4)*a(5)*a(6) = 1152. And 24 divides 1152. Had a(6) been any of the positive integers which are < 8 and do not occur earlier in the sequence (i.e., had it been 5 or 7), then the sum of the first 6 terms of the sequence would not have divided the product of the first 6 terms.
		

Crossrefs

Programs

  • Mathematica
    f[l_List] := Block[{k = 1, s = Plus @@ l, p = Times @@ l},While[MemberQ[l, k] || Mod[k*p, k + s] > 0, k++ ];Append[l, k]];Nest[f, {1, 2}, 75] (* Ray Chandler, Jan 22 2007 *)

Extensions

Extended by Ray Chandler, Jan 22 2007

A127563 a(n) = sum{k=1 to n} A127562(k).

Original entry on oeis.org

1, 3, 6, 12, 16, 24, 36, 54, 64, 80, 100, 125, 144, 171, 180, 216, 240, 270, 285, 320, 342, 375, 380, 418, 432, 475, 486, 512, 525, 532, 560, 594, 625, 646, 663, 686, 715, 754, 798, 840, 880, 912, 957, 1008, 1045, 1092, 1140, 1190, 1242, 1288, 1344, 1404, 1445
Offset: 1

Views

Author

Leroy Quet, Jan 18 2007

Keywords

Comments

a(n) divides A127564(n).

Crossrefs

Extensions

Extended by Ray Chandler, Jan 22 2007
Showing 1-2 of 2 results.