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.

A347144 a(n) is the smallest number whose square uses all the digits but n.

This page as a plain text file.
%I A347144 #12 Aug 21 2021 15:49:59
%S A347144 11826,45136,12586,32054,36137,10136,32861,32164,10124,10128
%N A347144 a(n) is the smallest number whose square uses all the digits but n.
%e A347144 a(0) is the smallest number whose square is a zeroless pandigital number. A071519 lists numbers whose squares are zeroless pandigital numbers. Thus, a(0) = A071519(1) = 11826 (11826^2 = 139854276).
%t A347144 Table[Select[Range[100000], Union[IntegerDigits[#^2]] ==  Delete[Range[0, 9], n + 1] &][[1]], {n, 0, 9}]
%o A347144 (Python)
%o A347144 def a(n):
%o A347144     k, target = 1, set(str(i) for i in range(10) if i != n)
%o A347144     while set(str(k*k)) != target: k += 1
%o A347144     return k
%o A347144 print([a(n) for n in range(10)]) # _Michael S. Branicky_, Aug 19 2021
%Y A347144 Cf. A071519, A158931.
%K A347144 nonn,base,fini,full
%O A347144 0,1
%A A347144 _Tanya Khovanova_, Aug 19 2021