login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Numbers k such that k^2 and k^3 do not have any common digits.
3

%I #29 Dec 21 2022 08:19:27

%S 2,3,8,9,14,24,28,34,58,63,67,69,163,173,437,482,527,543,612,819,1514,

%T 1633,2244,2303,3379,6603,28114,31563

%N Numbers k such that k^2 and k^3 do not have any common digits.

%C a(29), if it exists, exceeds 2*10^9. - _Sean A. Irvine_, Mar 04 2020

%C a(29), if it exists, exceeds 10^14. - _Michael S. Branicky_, Dec 19 2022

%o (PARI) isok(k) = #setintersect(Set(digits(k^2)), Set(digits(k^3))) == 0; \\ _Michel Marcus_, Dec 21 2022

%Y Cf. A029788, A029789, A359105.

%K nonn,base,more

%O 1,1

%A _Patrick De Geest_