cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A124650 Number of n-digit numbers m such that m and m^10 are zeroless.

This page as a plain text file.
%I A124650 #22 Jul 29 2023 11:19:40
%S A124650 3,14,42,141,399,1274,4123,12688,39604,124987,392908,1233059,3869012
%N A124650 Number of n-digit numbers m such that m and m^10 are zeroless.
%e A124650 a(3) = 42 because #{113, 118, 125, 142, 144, 166, 172, 176, 186, 187, 195, 228, 244, 263, 268, 296, 315, 334, 357, 367, 376, 383, 387, 388, 396, 426, 467, 527, 563, 573, 574, 662, 764, 773, 783, 788, 863, 883, 885, 892, 976, 992} = 42
%e A124650 Corresponding zeroless 10th powers are:
%e A124650 {339456738992222314849,523383555379856794624,931322574615478515625,
%e A124650 ... 318895612267497741289677389824,784328825964927423585898725376,
%e A124650 922819411957263335393616461824}.
%o A124650 (Python)
%o A124650 from itertools import product
%o A124650 def A124650(n):
%o A124650     return sum(1 for s in product('123456789',repeat=n) if '0' not in str(int(''.join(s))**10)) # _Chai Wah Wu_, Mar 24 2020
%Y A124650 Cf. A104264.
%K A124650 base,more,nonn
%O A124650 1,1
%A A124650 _Zak Seidov_, Dec 22 2006
%E A124650 a(7)-a(8) from _Donovan Johnson_, Feb 17 2010
%E A124650 a(9)-a(10) from _Chai Wah Wu_, Mar 24 2020
%E A124650 a(11)-a(13) from _Giovanni Resta_, Mar 27 2020