Jump to content

Penholodigital squares: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
(Created Nim solution.)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,922:
 
Although I'm not quite sure why, it appears that a necessary condition for a number to be a penholodigital square is for its square root to be exactly divisible by the highest prime factor of (base - 1).
<syntaxhighlight lang="ecmascriptwren">import "./math" for Int
import "./fmt" for Conv, Fmt
 
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.