OFFSET
0,2
COMMENTS
Index of the least triangular number t divisible by exactly n triangular numbers bigger than 1 and less than t, or -1 if there is no such t.
Conjecture: a(n) >= 0.
MATHEMATICA
mx = 10000; tri = Table[n (n + 1)/2, {n, mx}]; nn = 20; t = Table[0, {nn}]; found = 0; n = 0; While[n < mx && found < nn, n++; cnt = 0; Do[If[Mod[tri[[n]], tri[[k]]] == 0, cnt++], {k, 2, n - 1}]; If[cnt <= nn && t[[cnt]] == 0, t[[cnt]] = n; found++]]; Join[{0}, t] (* T. D. Noe, May 07 2013 *)
PROG
(C)
#include <stdio.h>
#define TOP 80
int main() {
unsigned long long c, i, j, t, tn;
long long f[TOP];
memset(f, -1, sizeof(f));
for (i = tn = 0; i < (1ULL<<32); i++) {
for (c=0, tn += i, t = j = 3; t*2 <= tn; t+=j, ++j)
if (tn%t==0) ++c;
if (c<TOP && f[c]<0)
for (printf("\n"), f[c]=i, j=0; j<TOP; ++j)
printf("%lld, ", f[j]);
}
return 0;
}
CROSSREFS
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, May 06 2013
STATUS
approved