Files
the-button/js/06_automation_is_not_enough.js
2025-09-12 11:20:36 +02:00

15 lines
494 B
JavaScript

const m = 14004392365098131090160062970945115111185775413941111064876648140973294115502980816410773368597517292734034227298996122159833675150497554142801209096513652073059992938078366061434391648276904643753267405058183481162693381822800709938988762923n;
function onClick() {
if(n >= 10n**16n) {
return;
}
n++;
const a = pow(n, 65537n, m);
if(a % 1466928606874115117499939299261n == 49119078231137394008451554322n) {
x += x;
}
x += a;
x %= m;
}