Advertisement
Nik333

Untitled

May 24th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. 3420969
  2. 3442069
  3. 3469420
  4. 3542069
  5. 3569420
  6.  
  7. javascript:(function(){var cn = prompt('Find next "69420 Counting" after:', '') - 0;var w=1;while(w){cn++;ca=(cn+"").split("");var hs=2;for(let i=0;i<ca.length-2;i++){if(ca[i]=="4"&&ca[i+1]=="2"&&ca[i+2]=="0"){hs=1;break;}}if(hs===2)continue;for(let i=0;i<ca.length-1;i++){if(ca[i]=="6"&&ca[i+1]=="9"){alert(cn+' is the next "69420 Counting" number');w=0;break;}}}})();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement