GetCommonBase

GetCommonBase[ list ]

GetCommonBase[ list ] returns the common base of the integers in list, i.e. the smallest number such that each element in the list is a power of this number.

Example in reduced
The common base of 4, 16 and 64. GetCommonBase[{4, 16, 64}] 2