login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A362423
Number of partitions of n into 3 perfect powers (A001597).
1
0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 2, 2, 1, 1, 2, 1, 0, 2, 2, 2, 2, 1, 2, 1, 0, 2, 3, 3, 2, 2, 3, 2, 1, 3, 4, 3, 2, 4, 4, 1, 1, 3, 4, 2, 3, 3, 3, 3, 1, 3, 3, 4, 3, 3, 4, 3, 2, 2, 4, 5, 3, 4, 4, 2, 1, 4, 5, 2, 3, 3, 5, 1, 2, 4, 5, 4, 2, 4, 2, 4, 0, 3, 5, 5, 2
OFFSET
0,18
LINKS
Eric Weisstein's World of Mathematics, Perfect Power.
MATHEMATICA
perfectPowerQ[n_] := n == 1 || GCD @@ FactorInteger[n][[;; , 2]] > 1; a[n_] := Count[IntegerPartitions[n, {3}], _?(AllTrue[#, perfectPowerQ] &)]; Array[a, 100, 0] (* Amiram Eldar, May 05 2023 *)
CROSSREFS
Sequence in context: A204016 A343334 A157865 * A274274 A072550 A037810
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Apr 19 2023
STATUS
approved