add challenge scripts
This commit is contained in:
14
js/06_automation_is_not_enough.js
Normal file
14
js/06_automation_is_not_enough.js
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user