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!)
A342308 Numbers whose fifth powers are zeroless pandigital. 1

%I #28 Mar 09 2021 20:43:58

%S 193,353,398,678,695,697,744,768,776,793,868,883,966,968,983,1045,

%T 1075,1079,1089,1097,1098,1114,1129,1148,1186,1193,1212,1291,1311,

%U 1403,1405,1442,1544,1576,1584,1643,1715,1734,1746,1775,1795,1853,1868,1888,1917,1944,1953,1971,1974,1996

%N Numbers whose fifth powers are zeroless pandigital.

%C Numbers n such that A000584(n) is in { A050289 }.

%H David A. Corneth, <a href="/A342308/b342308.txt">Table of n, a(n) for n = 1..10000</a>

%e 193^5 = 267785184193, and contains all the digits 1 through 9.

%p q:= n-> is({convert(n^5, base, 10)[]}={$1..9}):

%p select(q, [$1..2000])[]; # _Alois P. Heinz_, Mar 08 2021

%t Select[Range[2000],

%t Sort[ Union[IntegerDigits[#^5]]] == {1, 2, 3, 4, 5, 6, 7, 8, 9} &]

%o (Python)

%o A342308_list = [n for n in range(1,10**5) if set(str(n**5)) == {'1', '2', '3', '4', '5', '6', '7', '8', '9'}] # _Chai Wah Wu_, Mar 08 2021

%o (PARI) isok(m) = my(d=digits(m^5)); vecmin(d) && (#Set(d) == 9); \\ _Michel Marcus_, Mar 09 2021

%Y Cf. A000584, A050289.

%K nonn,base

%O 1,1

%A _Tanya Khovanova_, Mar 08 2021

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 July 18 17:38 EDT 2024. Contains 374388 sequences. (Running on oeis4.)