login
A074125
Group the composite numbers so that the sum of the n-th group is a multiple of the n-th prime: (4), (6), (8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22), (24, 25), (26, 27, 28, 30, 32), (33, 34, ...), ... Sequence gives the first term of each group.
3
4, 6, 8, 24, 26, 33, 60, 77, 99, 165, 187, 209, 219, 261, 336, 464, 470, 475, 482, 558, 865, 955, 973, 984, 1106, 1314, 1424, 1466, 1492, 1572, 2066, 2095, 2098, 2319, 2584, 2858, 3013, 3206, 3279, 3475, 3660, 3921, 3978, 4030, 4706, 5118, 5947
OFFSET
1,1
PROG
(PARI) n=3:for(k=1, 100, r=0:s=0:while(!s||(s%prime(k)>0), if(!isprime(n), s=s+n: if(!r, r=n)):n=n+1):print1(r", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Aug 27 2002
EXTENSIONS
Corrected and extended by Ralf Stephan, Mar 23 2003
STATUS
approved