|
|
A365019
|
|
Triangular numbers that for some k >= 0 are also the sum of the first k perfect powers.
|
|
0
|
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
159284476 is a term because 159284476 = 1 + 2 + 3 + 4 + ... + 17848 = 1 + 4 + 8 + 9 + ... + 574564 = 1^2 + 2^2 + 2^3 + 3^2 + ... + 758^2.
|
|
MATHEMATICA
|
Join[{0}, Select[Accumulate[Select[Range[574564], # == 1 || GCD @@ FactorInteger[#][[All, 2]] > 1 &]], IntegerQ[Sqrt[8 # + 1]] &]]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,bref,hard,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|