Error in prime factor finder utility:

12 views
Skip to first unread message

Skip Cave

unread,
Jun 16, 2026, 3:10:19 AM (yesterday) Jun 16
to forum
__ q: 55340232221128654853

2 3

64 1


(2x^64)*3

55340232221128654848


The last two digits are wrong.

q:55340232221128654853

2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3

*/2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3x

55340232221128654848


Skip Cave
Cave Consulting LLC

bill lam

unread,
Jun 16, 2026, 3:23:42 AM (yesterday) Jun 16
to fo...@jsoftware.com
The number is a floating point and

  55340232221128654853=55340232221128654848
1

To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Mike Day

unread,
Jun 16, 2026, 4:05:29 AM (yesterday) Jun 16
to fo...@jsoftware.com
and 
   x:55340232221128654853
55340232221128654848


Sent from my iPad

On 16 Jun 2026, at 08:23, bill lam <bbil...@gmail.com> wrote:



Henry Rich

unread,
Jun 16, 2026, 9:40:41 AM (yesterday) Jun 16
to fo...@jsoftware.com
You have converted an inexact floating-point number to exact form.  The precision was lost before x: was applied.

Henry Rich

Skip Cave

unread,
Jun 16, 2026, 2:39:14 PM (23 hours ago) Jun 16
to fo...@jsoftware.com
OK, so I need to use extended integers when I use the prime factors
 verb q:

If the right argument of q: is not extended:

__ q: 55340232221128654853

2 3

64 1

The extended product of the resulting factors is wrong:

(2x^64)*3x

55340232221128654848


<<<>>>


If the right argument of q: is extended:

__ q: 55340232221128654853x

23 79 7561 155251 25946119

1 1 1 1 1

Extended product of the resulting factors is correct:

*/23 79 7561 155251 25946119x

55340232221128654853


<<>>

In short:

q: 55340232221128654853

2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3

q: 55340232221128654853x

23 79 7561 155251 25946119


Skip Cave
Cave Consulting LLC

Reply all
Reply to author
Forward
0 new messages