login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A111260
Numbers of the form (m^n)/(n^m) with m > 0 and n>1.
0
1, 4, 16, 27, 256, 729, 65536, 2985984, 4194304, 9765625, 134217728, 387420489, 2176782336, 24794911296, 30517578125, 104857600000, 678223072849, 2641807540224, 7625597484987, 17592186044416, 281474976710656
OFFSET
1,2
EXAMPLE
The 4th element is a=27 with m = 3 and n = 9 because 3^9/9^3 = 27.
MAPLE
a:=proc(N) local a, m, n; for m from 1 to N do for n from 2 to N do a:=(m^n)/(n^m); if(floor(a)=a)then print(a) fi; od; od; end: # convert into set # sort set
MATHEMATICA
Take[ Select[ Union@Flatten@Table[(m^n)/(n^m), {m, 35}, {n, 2, 35}], IntegerQ[ # ] &], 21] (* Robert G. Wilson v, Nov 17 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved