login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A281148 Numbers k such that k and k^6 have no digits in common. 1

%I #41 Feb 27 2022 05:40:02

%S 2,3,8,9,13,14,22,33,44,52,72,77,87,92,222,322,622,7737,7878,30302,

%T 44449,72777,844844,44744744

%N Numbers k such that k and k^6 have no digits in common.

%C 0, 1, 5, 6 cannot be the last digit of any term. [0 added to list by _Jon E. Schoenfield_, Jan 29 2017]

%C The only terms with no repeated digits are 2, 3, 8, 9, 13, 14, 52, 72, 87, 92.

%e 92 is a term because 92^6 = 606355001344 has no digit 2 or 9.

%t fQ[n_] := Intersection[IntegerDigits[n], IntegerDigits[n^6]] == {}; Select[ Range@45000000, Mod[#, 5] > 1 && fQ@# &] (* _Robert G. Wilson v_, Jan 29 2017 *)

%o (PARI) isok(n) = #setintersect(Set(digits(n)), Set(digits(n^6))) == 0;

%Y Cf. A001014, A281678.

%K nonn,base,more

%O 1,1

%A _Robert Israel_ and _Altug Alkan_, Jan 27 2017

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 14:23 EDT 2024. Contains 371960 sequences. (Running on oeis4.)