login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A322492
Records in the number of ways to represent a number as truncated triangular number A008912.
2
1, 2, 4, 6, 8, 12, 16, 18, 24, 32, 36, 48, 64, 72, 96, 108, 128, 144, 192
OFFSET
1,2
COMMENTS
The numbers where the record is first achieved are provided as A322491.
PROG
(PARI) v=vectorsmall(20000000); for(n=1, 5100, for(k=1, n-1, my(t=n*(n-3)/2-k^2+k*n+1); v[t]++)); vm=0; for(k=1, #v, if(v[k]>vm, print1(v[k], ", "); vm=v[k])) \\ Hugo Pfoertner, Sep 18 2020
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Hugo Pfoertner, Dec 12 2018
STATUS
approved