Lonami / grammers

(tele)gramme.rs - use Telegram's API from Rust
https://t.me/gramme_rs
Apache License 2.0
535 stars 103 forks source link

unable to factorize 2804275833720261793 #220

Closed andrew-ld closed 7 months ago

andrew-ld commented 7 months ago

when I do factorize 2804275833720261793 I get (1, 2804275833720261793), this is obviously wrong and cannot be accepted by the telegram backend.

madelineproto algorithm returns (1803100129, 1555252417) which is a valid pair accepted by the backend

Lonami commented 7 months ago

That's a fun one. Don't really know why a different set of "random" numbers fixes it but hey. I've tried to avoid making things divisible by 2 now.