reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
# Code after Alois P. Heiz.
proposed
editing
editing
proposed
def aT(d, n):
return aT(d-1, n) + sum(aT(d-1, n-(j**2)) for j in range(1, isqrt(n)+1)) * 2 # Darío Clavijo, Feb 06 2024
proposed
editing
editing
proposed
Array T(d,n) with rows d = 1,2,3,... and columns n = 0,1,2,3,... reads
1 2 0 0 2 0 0 0 0 2 0 ...
1 4 4 0 4 8 0 0 4 4 8 ...
1 6 12 8 6 24 24 0 12 30 24 ...
1 8 24 32 24 48 96 64 24 104 144 ...
1 10 40 80 90 112 240 320 200 250 560 ...
1 12 60 160 252 312 544 960 1020 876 1560 ...
1 14 84 280 574 840 1288 2368 3444 3542 4424 ...
1 16 112 448 1136 2016 3136 5504 9328 12112 14112 ...
1 18 144 672 2034 4320 7392 12672 22608 34802 44640 ...
1 20 180 960 3380 8424 16320 28800 52020 88660 129064 ...
proposed
editing
editing
proposed
1 2 0 0 2 0 0 0 0 2 0 ...
1 4 4 0 4 8 0 0 4 4 8 ...
1 6 12 8 6 24 24 0 12 30 24 ...
1 8 24 32 24 48 96 64 24 104 144 ...
1 10 40 80 90 112 240 320 200 250 560 ...
1 12 60 160 252 312 544 960 1020 876 1560 ...
1 14 84 280 574 840 1288 2368 3444 3542 4424 ...
1 16 112 448 1136 2016 3136 5504 9328 12112 14112 ...
1 18 144 672 2034 4320 7392 12672 22608 34802 44640 ...
1 20 180 960 3380 8424 16320 28800 52020 88660 129064
proposed
editing