OFFSET
0,2
COMMENTS
REFERENCES
See A025052
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..125
EXAMPLE
a(3) = 23 because 23 is the least number with 3 representations: (a,b,c) = (1,1,11), (1,2,7) and (1,3,5).
MATHEMATICA
cntMax=10; nSol=Table[{0, 0, 0}, {cntMax+1}]; Do[lim=Ceiling[(n-1)/2]; cnt=0; Do[If[n>a*b && Mod[n-a*b, a+b]==0 && Quotient[n-a*b, a+b]>=b, cnt++; If[cnt>cntMax, Break[]]], {a, 1, lim}, {b, a, lim}]; If[cnt<=cntMax, If[nSol[[cnt+1, 1]]==0, nSol[[cnt+1, 1]]=n]; nSol[[cnt+1, 2]]=n; nSol[[cnt+1, 3]]++; ], {n, 10000}]; Table[nSol[[i, 1]], {i, cntMax+1}]
PROG
(Haskell)
import Data.List (elemIndex)
import Data.Maybe (fromJust)
a094379 = (+ 1) . fromJust . (`elemIndex` a066955_list)
-- Reinhard Zumkeller, Mar 23 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Apr 28 2004
STATUS
approved