A064943 Number of integers with 2*n digits that are the sum of the squares of their halves (leading zeros count; 1 does not, to avoid the ambiguity 1 = 0^2 + 1^2 = 00^2 + 01^2 = 000^2 + 001^2 = ...).
0, 2, 2, 2, 6, 6, 14, 30, 6, 14, 14, 6, 6, 14, 126, 14, 14, 62, 6, 14, 126, 14, 14, 510, 126, 14, 62, 30, 30, 62, 6, 6, 254, 14, 2046, 30, 126, 62, 126, 510, 6, 254, 6, 14, 2046, 14, 14, 254, 30, 254, 2046, 254, 30, 254, 4094, 510, 2046, 126, 6, 254, 30, 126, 2046, 14
Offset: 1
Examples
a(5) = 6 because 1765038125 = 17650^2 + 38125^2, 2584043776 = 25840^2+43776^2, 7416043776 = 74160^2+43776^2, 8235038125 = 82350^2+38125^2, 9901009901 = 99010^2+09901^2, 99009901 = 00990^2+09901^2 (the last one counts as a 10-digit number). Alternatively: a(5) = tau(10^(2*5)+1) - 2 = tau(101*3541*27961) - 2 = 8 - 2 = 6.
Formula
a(n) = tau(10^(2*n)+1) - 2.
Comments