%I #21 Apr 25 2015 11:53:49
%S 6,43,252,1262,5511,21152,74042,238684,725685,2104589,5895064,
%T 16057747,42805464,112213032,290287667,743123654,1886919028,4760112931
%N Number of integers m in [0..10^n-1] such that m has no digit in common with the last n digits of m^2.
%e For n=2:
%e m = 89, m^2 = 7921 and 21 has no digit in common with 89 so it is counted.
%e m = 91, m^2 = 8281 and 81 has digit 1 in common with 91 so it is not counted.
%e m = 1, m^2 = 1 has digit 1 in common so it is not counted.
%e For n=3:
%e m = 962, m^2 = 925444 and 444 has no digit in common with 962 so it is counted.
%e m = 963, m^2 = 927369 and 369 has all digits in common with 963 so it is not counted.
%Y Cf. A256714, A256715.
%K base,nonn,more
%O 1,1
%A _Lars Blomberg_, Apr 09 2015
|