OFFSET
1,5
COMMENTS
LINKS
Peter Kagey, Table of n, a(n) for n = 1..5150 (first 400 rows)
Code Golf Stack Exchange user Bubbler, The square root of the square root of the square root of the...
Peter Kagey, Table of first 15^2 = 225 rows.
FORMULA
T(n,1) = 0 for n > 1.
T(n,k) = 0 if n + k is odd.
EXAMPLE
Table begins:
n\k| 1 2 3 4
---+---------
1 | 1
2 | 0
3 | 0
4 | 0 2
5 | 0 0
6 | 0 2
7 | 0 0
8 | 0 2
9 | 0 0 2
10 | 0 4 0
11 | 0 0 2
12 | 0 6 0
13 | 0 0 2
14 | 0 8 0
15 | 0 0 4
16 | 0 12 0 2
The T(15,3) = 4 compositions of 15 whose iterated sum of square roots equals 3 are:
7 + 2 + 2 + 3 + 1,
7 + 2 + 2 + 4,
6 + 8 + 1, and
6 + 9.
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Peter Kagey, Oct 19 2020
STATUS
approved