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”).

Records in the number of ways to represent a number as truncated triangular number A008912.
2

%I #13 Sep 19 2020 03:40:59

%S 1,2,4,6,8,12,16,18,24,32,36,48,64,72,96,108,128,144,192

%N Records in the number of ways to represent a number as truncated triangular number A008912.

%C The numbers where the record is first achieved are provided as A322491.

%o (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

%Y Cf. A008867, A008912, A319602, A321740, A322491.

%K nonn,more

%O 1,2

%A _Hugo Pfoertner_, Dec 12 2018