Determine the total number of quintuplets (A,B,C,D,E) of positive integers such that A<=B<=C<=D<=E<=N.
Both analytic and software solution for N=1, 2, ...9,10,...N required.
(In reply to solution
Kudos for excellent presentation and solution.
I will refer to it when posting the "official" solution.
I will only add a recursive formula for f(n), to facilitate the
hence f(2)=1*6/1=6 f(3)=6*7/2=21 etc matching your results.