HP Prime for All
English
Русский
News
Hardware
Articles
Docs
HP Apps
Software
Docs
:
Commands
:
pa2b2
Syntax
pa2b2(Intg(n))
Description
Returns [a,b] such as a^2+b^2=n (for n prime and n=1 (mod 4))
Example
pa2b2(17) returns [4,1]
pa2b2 — Discussion
↑Back to top