The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Lowest integer ratio
04-16-2023, 04:57 PM (This post was last modified: 04-16-2023 05:08 PM by matalog.)
Post: #1
Lowest integer ratio
Does the HP Prime have a function that takes 2 numbers and gives their lowest integer ratio. If you put in 224 and 288 you would get 7 and 9 out.

It would be as simple as a/gcd(a,b),b/gcd(a,b). But quite often the HP Prime already has this type of thing.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Lowest integer ratio - matalog - 04-16-2023 04:57 PM
RE: Lowest integer ratio - Joe Horn - 04-16-2023, 05:29 PM
RE: Lowest integer ratio - matalog - 04-16-2023, 11:43 PM



User(s) browsing this thread: 3 Guest(s)