Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

3 of 3
added 283 characters in body
Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36

PHP, 76 bytes

for(;$i++<$argn**(1/3);)for($n=1;$n<$i;)$n++**3+$i**3!=$argn?:$c++;echo$c>1;

Try it online!

Search till 400000 Try it online!

Jörg Hülsermann
  • 13.4k
  • 3
  • 16
  • 36

AltStyle によって変換されたページ (->オリジナル) /