A380203
With given points 0,1 on the x-axis, a(n) is the number of ways to construct n with m circles where 2^(m-1)
1, 1, 1, 1, 1, 2, 1, 1, 2, 4, 2, 4, 1, 2, 1, 1, 5, 9, 6, 10, 4, 8, 4, 8, 1, 4, 2, 4, 1, 2, 1, 1, 15, 28, 15, 31, 13, 25, 14, 28, 10, 19, 11, 22, 8, 15, 9, 17, 2, 8, 4, 12, 2, 8, 4, 8, 1, 4, 2, 4, 1, 2, 1, 1, 50, 94, 56, 99, 45, 91, 51, 97, 39, 74, 41, 92, 31, 74, 40, 85, 26, 61
Offset: 1
Keywords
Examples
n a(n) intersection points on the x-axis 5 1 2, 3, 5 6 2 2, 3, 6 or 2, 4, 6 10 4 2, 3, 5, 10 or 2, 3, 6, 10 or 2, 4, 6, 10 or 2, 4, 7, 10
Crossrefs
Cf. A379972.
Programs
-
Maxima
block(m:7, aa:makelist(i-1,i,1,m+2), freq:makelist(0,i,1,2^m), recursion(t):= (freq[aa[t]] : freq[aa[t]] + 1, if t< m+2 then for k from t-1 thru 1 step -1 do (p:2*aa[t] - aa[k] , if p> 2^(t-2) then (aa[t+1]:p, recursion(t+1) ) ) ) , recursion(2), freq );
Comments