%I #12 Feb 01 2022 00:44:17
%S 1,0,2,14,25,56,3,0,0,36,0,15,4,0,26,0,0,57,47,0,5,16,0,0,0,0,27,0,0,
%T 0,6,58,48,17,0,38,0,0,0,0,28,0,7,0,0,0,0,18,49,0,0,39,0,0,0,0,8,0,0,
%U 0,0,0,0,19,0,0,0,0,0,0,0,0,9
%N a(n) is the smallest number that is less than the sum of the square of its digits by n, or 0 if no such number exists.
%e a(3) = 14, because 1^2 + 4^2 - 14 = 3, and no number smaller than 14 has this property.
%Y Cf. A003132, A174593.
%K base,nonn
%O 0,3
%A _Claudio Meller_, Mar 23 2010
%E a(0)=1 prepended by _Michel Marcus_, Feb 05 2014