Original entry on oeis.org
1, 6, 15, 36, 65, 108, 175, 264, 369, 510, 671, 864, 1105, 1386, 1695, 2048, 2465, 2934, 3439, 4000, 4641, 5346, 6095, 6912, 7825, 8814, 9855, 11004, 12209, 13500, 14911, 16416, 17985, 19652, 21455, 23364, 25345, 27436, 29679, 32040, 34481
Offset: 1
Original entry on oeis.org
1, 2, 3, 6, 10, 15, 22, 29, 36, 45, 55, 66, 78, 91, 105, 120, 136, 153, 171, 190, 210, 231, 253, 276, 301, 326, 351, 378, 406, 435, 465, 496, 528, 561, 595, 630, 666, 703, 741, 780, 820, 861, 903, 946, 990, 1035, 1081, 1128, 1176, 1225, 1275, 1326, 1378, 1431
Offset: 1
Original entry on oeis.org
1, 4, 7, 13, 18, 21, 28, 40, 49, 64, 75, 81, 94, 115, 130, 138, 155, 182, 201, 211, 232, 265, 288, 300, 325, 364, 391, 433, 462, 477, 508, 556, 589, 606, 641, 695, 732, 751, 790, 850, 891, 912, 955, 1021, 1066, 1089, 1136, 1208, 1257, 1282, 1333, 1411, 1464
Offset: 1
Original entry on oeis.org
1, 2, 4, 3, 5, 7, 6, 8, 9, 13, 10, 11, 12, 14, 23, 15, 16, 17, 18, 19, 29, 20, 21, 22, 24
Offset: 1
Original entry on oeis.org
1, 2, 4, 3, 5, 7, 6, 8, 9, 13, 10, 11, 12, 14, 18, 15, 16, 17, 19, 20, 21, 22, 23, 24, 25, 26
Offset: 1
A074133
Average of the n-th group, if positive integers are rearranged in groups of k=1,2,3,... numbers whose sum is a multiple of k.
Original entry on oeis.org
1, 3, 5, 9, 13, 18, 25, 33, 41, 51, 61, 72, 85, 99, 113, 128, 145, 163, 181, 200, 221, 243, 265, 288, 313, 339, 365, 393, 421, 450, 481, 513, 545, 578, 613, 649, 685, 722, 761, 801, 841, 882, 925, 969, 1013, 1058, 1105, 1153, 1201, 1250, 1301, 1353, 1405
Offset: 1
From _M. F. Hasler_, May 07 2010: (Start)
Below the groups are given inside /*...*/, followed by the average a(n):
/*[1]*/ 1,
/*[2, 4]*/ 3,
/*[3, 5, 7]*/ 5,
/*[6, 8, 9, 13]*/ 9,
/*[10, 11, 12, 14, 18]*/ 13,
/*[15, 16, 17, 19, 20, 21]*/ 18,
/*[22,23, 24, 25, 26, 27, 28]*/ 25,
/*[29, 30, 31, 32, 33, 34, 35, 40]*/ 33,
/*[36, 37, 38, 39, 41, 42, 43, 44, 49]*/ 41,
/*[45, 46, 47, 48, 50, 51, 52, 53, 54, 64]*/ 51,
/*[55, 56, 57, 58, 59, 60, 61, 62, 63, 65, 75]*/ 61,
/*[66, 67, 68, 69, 70, 71, 72, 73, 74, 76, 77, 81]*/ 72, ... (End)
-
{v=vector(10000); print1(v[1]=1); for(n=2,80, s=0;i=1; for(k=1,n-1, while(v[i],i++); s+=i; v[i]=1); i=ceil(s/n)*n-s; while(! i||v[i], i+=n); s+=i; v[i]=1; print1(","s/n))}
-
/* Removing the code involving "show" considerably speeds up the computation */
A074133(n,show=0 /* 1:print terms 1..n, 2:print all groups */)={
my(t, u=0, lu=1 /* least unused */); for(k=1, n, my(v=[]); s=sum( i=1,k-1,
t=lu; while(bittest(u,t), t++); show>1 & v=concat(v,t); u+=1<1 & print1("/*"concat(v,n-s)"*/ ");
t=n/k; show & print1(t,", "); break));t} \\ M. F. Hasler, May 07 2010
A082017
First row of square array T(n,k) with T(1,1) = 1 where antidiagonals are filled alternating upwards and downwards with the smallest number not already used such that the n-th antidiagonal sum is a multiple of n.
Original entry on oeis.org
1, 2, 7, 6, 18, 15, 28, 29, 49, 45, 75, 66, 94, 91, 130, 120, 155, 153, 201, 190, 232, 231, 288, 276, 325, 326, 391, 378, 462, 435, 508, 496, 589, 561, 641, 630, 732, 703, 790, 780, 891, 861, 955, 946, 1066, 1035, 1136, 1128, 1257, 1225, 1333, 1326, 1464, 1431
Offset: 1
T(n,k) begins:
1, 2, 7, 6, 18, 15, ...
4, 5, 8, 14, 16, 27, ...
3, 9, 12, 17, 26, 31, ...
13, 11, 19, 25, 32, 42, ...
10, 20, 24, 33, 41, 50, ...
21, 23, 34, 39, 51, 60, ...
A082018
First column of square array T(n,k) with T(1,1) = 1 where antidiagonals are filled alternating upwards and downwards with the smallest number not already used such that the n-th antidiagonal sum is a multiple of n.
Original entry on oeis.org
1, 4, 3, 13, 10, 21, 22, 40, 36, 64, 55, 81, 78, 115, 105, 138, 136, 182, 171, 211, 210, 265, 253, 300, 301, 364, 351, 433, 406, 477, 465, 556, 528, 606, 595, 695, 666, 751, 741, 850, 820, 912, 903, 1021, 990, 1089, 1081, 1208, 1176, 1282, 1275, 1411, 1378
Offset: 1
T(n,k) begins:
1, 2, 7, 6, 18, 15, ...
4, 5, 8, 14, 16, 27, ...
3, 9, 12, 17, 26, 31, ...
13, 11, 19, 25, 32, 42, ...
10, 20, 24, 33, 41, 50, ...
21, 23, 34, 39, 51, 60, ...
A082019
Diagonal of square array T(n,k) with T(1,1) = 1 where antidiagonals are filled alternating upwards and downwards with the smallest number not already used such that the n-th antidiagonal sum is a multiple of n.
Original entry on oeis.org
1, 5, 12, 25, 41, 60, 85, 112, 145, 180, 221, 264, 313, 365, 420, 481, 544, 613, 684, 761, 840, 925, 1012, 1105, 1200, 1301, 1404, 1513, 1624, 1741, 1860, 1985, 2112, 2245, 2380, 2521, 2664, 2813, 2964, 3121, 3281, 3444, 3613, 3784, 3961, 4140, 4325, 4512
Offset: 1
T(n,k) begins:
1, 2, 7, 6, 18, 15, ...
4, 5, 8, 14, 16, 27, ...
3, 9, 12, 17, 26, 31, ...
13, 11, 19, 25, 32, 42, ...
10, 20, 24, 33, 41, 50, ...
21, 23, 34, 39, 51, 60, ...
Showing 1-9 of 9 results.
Comments