OFFSET
1,1
COMMENTS
The first integer which can be represented in two ways is 17 and the first in three ways is 129.
EXAMPLE
12 = 2^2+2^3.
17 = 1+2^4 = 2^3+3^2.
129 = 1+2^7 = 2^2+5^3 = 2^3+11^2.
MATHEMATICA
With[{m = 130}, Select[Range[m], Count[IntegerPartitions[#, {2}, Select[Range[m], # == 1 || GCD @@ FactorInteger[#][[;; , 2]] > 1 &]], _?(UnsameQ @@ #1 &)] > 0 &]] (* Amiram Eldar, Dec 04 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Duckett, Dec 02 2025
STATUS
approved
