Search - "but i kind of do"
• 112
• 87
• 86
• 45
• 22
• 21
• 19
• 19
• 19
• 18
• 17
• 16
• 15
• 13
• 13
• 13
• 12
• 12
• 12
• 11
• 11
• 11
• 10
• 10
• 9
• 9
• 8
• 8
• 8
• 8
• 7
• 7
• 7
• 7
• 6
• 6
• 6
• 5
• 5
Looking for someone to test a new factorization script I wrote.

https://pastebin.com/Td2XTKe6

Tested against a set of products from all primes under 1000. Worked even on numbers up to 87954921289

Worked for about 66% of the products tested.

Obviously I'm cheating a little bit because I'm checking for four conditions n%a == 0, n%a == 1, n%b == 0, and n%b == 1

It appears it is possible to generate the series from just the product, and then factor each result. The last factor in each each set of factors becomes x, and we do p%x and check for zero.
if it works, we've found our answer.

Kind of wonky but basically what its doing is taking p, tacking on a 0 to the right, and then tacking p to the right of *that*.

So if you had a product like

314

The starting number we look at is

3140314

The middle digit becomes i, and the unit digit becomes j.

Don't know why it works more often then not, and don't know if it would really be any faster.

Just think it's cool.
9
• 5
• 5
• 5
• 5
• 5
For a moment I thought I was living in a crazy world..

Then I realised I was..

Reference:

https://help.archive.org/hc/en-us/...

So.. let me get this right, a huge digital library of text, can only let one person at a time, look at a copy they have..

I can't for the moment, think of a more absurd thing !

I mean..

"You are number 1,392,293,943 in queue to read the book you have requested, estimated time for delivery is 134 years, 3 months, and 4 days, do you wish to continue waiting ?"

It's going back to the old days, when I'd order a book at the library, and wait 2 years to get to read it..

Your kidding me right !

No, I think this is real, and I guess one of the conditions for it being available online..

I did ponder this kind of crazy idea myself a few years ago, but everyone else said it would never work..

But I had in mind to have more than just one copy available for folk to view..

I mean, if you own 10 physical books, you can lend them out to 10 different people at once.

So, if you have 10 physical books, and one digital scan, then you should be able to lend out 10 digital scans at once right ?

That was the idea..
13
• 5
• 4
• 4
• 4
• 3
• 3
• 3
• 3
• 3
• 1
• 0
• 0