fork(1) download
  1. function kevinTheNumberMentioner(_){
  2. l=[]
  3. /* mostly harmless --> */ with(l) {
  4.  
  5. //Sorry about all this, my babel fish has a headache today...
  6. for (ll=!+[]+!![];ll<_+(+!![]);ll++) {
  7. lll=+!![];
  8. while (ll%++lll);
  9. //I've got this terrible pain in all the semicolons down my right-hand side
  10. (ll==lll)&&push(ll);
  11. }
  12. forEach(print);
  13.  
  14. }
  15.  
  16. //You're really not going to like this...
  17. return [!+[]+!+[]+!+[]+!+[]]+[!+[]+!+[]];
  18. }
  19.  
  20. print(kevinTheNumberMentioner(20))
Success #stdin #stdout 0.01s 4940KB
stdin
Standard input is empty
stdout
2 0 2,3,5,7,11,13,17,19
3 1 2,3,5,7,11,13,17,19
5 2 2,3,5,7,11,13,17,19
7 3 2,3,5,7,11,13,17,19
11 4 2,3,5,7,11,13,17,19
13 5 2,3,5,7,11,13,17,19
17 6 2,3,5,7,11,13,17,19
19 7 2,3,5,7,11,13,17,19
42