OFFSET
1,1
COMMENTS
A power m^k is called a higher power if k > 2, cf. A076467.
LINKS
Reinhard Zumkeller, First 22 terms of A226950
EXAMPLE
a(1) = 7449150177 = 1953^3 = 1116^3 + 279^4 = 217^4 + 1736^3;
a(2) = 8936757492481 = 1729^4 = 1729^3 + 20748^3 = 15561^3 + 17290^3;
see link for more examples and more info.
PROG
(Haskell)
import qualified Data.Set as Set (split, filter)
import Data.Set (Set, empty, size, insert, member)
a226950 n = a226950_list !! (n-1)
a226950_list = f a076467_list empty where
f (x:xs) s | size s'' <= 1 = f xs (x `insert` s)
| otherwise = x : f xs (x `insert` s)
where s'' = Set.filter ((`member` s) . (x -)) s'
(s', _) = Set.split (x `div` 2) s
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Israel and Reinhard Zumkeller, Sep 13 2013
STATUS
approved