# Cops and Robbers bowling (Cops)

In this challenge, your goal is to write a function that accepts a integer N, and that function will return the first N primes. However, you must do this in the most characters possible.

• You may use any method you wish to produce the primes.
• You are not allowed to modify your code after posting.
• Only printable ASCII characters are allowed.
• A character cannot appear in your code more than 100 times.

However, after posting your answer, the robbers will have the opportunity to crack your code by posting a modified version of your code. Your code is considered cracked if:

1. The modified code has a maximum levenshtein-distance of 10 from yours, and has fewer characters.
2. The function, given the same valid input, will produce the same output in the same language of the same version
3. The robber posted the modified version within 168 hours (1 week) of your post.

If a robber failed to crack your code within 168 hours, your code is considered safe. The winner of this challenge is the cop with the longest safe code.

The title of your thread should contain the language, the number of characters, and the current status (Open, Cracked, Safe) of your code.

The accompanying robbers thread can be found here

### Relevant tools

You can also use this snippet to calculate the Levenshtein distance:

var f=document.getElementById("f"),g=document.getElementById("s"); function h(){var a=f.value,e=g.value;if(128<a.length)a="<span style='color:red'>First program is too long!</span>";else if(128<e.length)a="<span style='color:red'>Second program is too long!</span>";else{if(0===a.length)a=e.length;else if(0===e.length)a=a.length;else{var d=[],b;for(b=0;b<=e.length;b++)d[b]=[b];var c;for(c=0;c<=a.length;c++)d[0][c]=c;for(b=1;b<=e.length;b++)for(c=1;c<=a.length;c++)d[b][c]=e.charAt(b-1)===a.charAt(c-1)?d[b-1][c-1]:Math.min(d[b-1][c-1]+1,Math.min(d[b][c-1]+1,d[b-1][c]+ 1));a=d[e.length][a.length]}a="Distance = <strong>"+a+"</strong>"}document.getElementById("d").innerHTML=a}f.onkeyup=h;g.onkeyup=h;
<h3 id=ft>First program</h3>
<textarea id=f rows=7 cols=80 style="width:100%"></textarea>
<h3 id=st>Second program</h3>
<textarea id=s rows=7 cols=80 style="width:100%"></textarea>
<p id=d></p>

Credits to Doorknob!

• Printable ASCII only? – histocrat Jan 15 '15 at 18:50
• Then shouldn't the better strategy be to provide the shortest code possible? – user15259 Jan 15 '15 at 21:25
• In my opinion, the question is not well thought through. This was on sandbox on merely 30 minutes. It should have stayed longer so that more users can shed their feedback and help make the question better. – Optimizer Jan 15 '15 at 21:28
• The best strategy is to provide the longest code possible that can't be shortened. – Nathan Merrill Jan 15 '15 at 21:35
• Not a huge fan of the workaround caught by @YiminRong. Changing the variable names is unavoidable by the cop. – Brandon Jan 16 '15 at 14:21

# Python, 9304 (Safe)

lambda x,s="e~n[lZ~*X#TJVQ7[g<DIbGw8KSe{#LJaaFWZXxSR+=[IwDKu0yAv6DkUB-x7!{ZuuEeq}iiM(A/;!iR[r/y<1XvQC8l2jWuXF0b{kQt?*&D=AFq_,Te{/,YAQ!S11G%8;lAeJ/#[@:x/<N2(Bn~^LP6TA:LKS}rdN}D*_PU@Rjv&+WodC0MEcmPS+b0R_d*{nhBS,A;T,!7t+aM{u.kf3&FILjcb}C?6<5,PaEh F-6NXw5@<z|cayv2XCD*j0| 6*H=z5@p=D?%l>3Wj_qALt9q:MS;vbJ[/L%mzU+M<ZlY?.sz6*_WGX+(45pMOQpM]KqM'>FJay9S|! srO=qE[@/RhaCd!P{jEv,%{kET#)L hNr.sbtkS]K:Mkz<vl@pGmHv&$ZTy.W$h0c+hxv5|L#F2G=n?/!!>Ld:?h0-fR/;5Z_v6mGyc~Y8*8bH'+m>K3{5YzGI@&w$oh:;|hT&I/(O^l+QHm!rOWMdgf2n{TRI4($_q34qiD0>j oCfuRR0>U#lRvalv[6g-&J}d|YDvh;IUWY%/0Q*gy$kDZkg=|NNfa*}~Cy^A[|q@%<9IkqZI1M.uA5YR2&'8RW?q8A8iBv]~M.yct3B]>qXnrmlK0,TP-Pp1fcL[&;gJ#e@uk+F WKiZWhP8u08RW$v% jG1Yh=be6kE4K>)1Y{9?^&c+u-)Qy(GYbXUr*e0@H!sHD]H424TO.v?JG<f] M{Q|#P9:H@4}X6&3UgMc/xmVJ* mo:C'GE!4O_F@lF+%U0u^TVT[va#H$CifR:j,MOy4Qq%U6DxNpBilYWwhq=Q:Z$uHDdi&7M0k!&mI>tyQ%HPN?Yp@u'dBho+[ro]!!])mIqKh2J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'a0-1MG2N?1-q#][YNQtWD1/opMt-Qeqdy^?t~MJYV}:a&J- -aKgt(L>kV_WIj3pWHUx>Lg!8Qbw-Wvc(=Z.vczH~TShJs36fz9_^wnLy(P%N>kv9)C7K!7{l'!k+P74{e!o_QlF^u*zqkb>{k~%soW-W>C?][zsGR[.?7Z#<:PylI:u0;8taMY}<S{.SSmt}_]CdL{gcbartI^xCoAKLC/wj##F$I5C+8Y#f|C|!xw,EBfkKK@ca+<bZ&(<tqizsTvsO20x~..Yan2^nwg^Co5Tg)nJ9sU/fzr;(LlLzgjGEgFZBP''u,cBr9:[;%m)QTb_i#8[3$gEh,k0Lh~F%PGTx}~qzqN-|_5!~elv]vcDDgx4,8VX*yK)SCi(+>ugB!=J,~J'21y_5>oVFa.^;Wj;GV4o>[D7Z!AF8or*E)~9O1xQV5|B-y,<dcb=;6$2m{=0]9q4?58H=MpIWe<S<W+hV3|z'LDL)7?]jX5%eRBW9izNlrJn'VGy=)|9C}c!a_YB-I4RBWRU#L!CYP_AT6( P*cSt},a*O.^gG6uN3VSP=FWHm+nLFd)pjXEq%:O||o!e6vE(x,'k)~FdCpAMG>TLN@$iCiMccS8&cOR}QYcz:8zasAj'^:H .CE*vh|ZteK3L3N6**{sUtjV= 5Tefx^jS330yA/]%E[[y};I~..k{-<fe~qIQ,o._k~u+.(gjvw%D<_NO'Vkk+bRlU1VPNNlH'Y>TaUZNu!u[B7rg<!4B%71Apd#R~rH}VcT>St0I(-sqiAX#GUr!?i=|1Y27A:iwE:Gr|K0EQ8V.isYjRxfv1rVOe7H2hM)DUV&qC~t*xfe0ogqpLVFULG!cd^tDOwwGb_=DdDRp~Mm pRf+RO(Rjss>}8].=t.'caJ2e+}hh_Z>o22sqJotXJwW8U8k0fbf3z+p+Q+R":eval(eval(s[:-28:11]+s[-28:]+".decode('base64').decode('zip')"*10))

Similar to my previous answer, the long string is created through repeated application of zlib and base64 encoding. A short answer might be safer, but finding a longer one is more interesting.

To protect against string multiplication attacks and string concatenation attacks,
the following tricks are used:

• The extra characters not used in base64 encoding (added for more characters) are shuffled, and then interleaved in evenly spaced intervals.
• After the string is fully decoded and evaluated, there is still one last check to count the occurrences of each character in the string.

Hopefully it won't get golfed by some unexpected syntax shortening attack.

# Java - 6193 (Cracked)

Here's the function; it takes n as input and returns an array of the first n primes:

The basic idea was to golf it down so that it would be hard to shorten (without changing the structure). Then, make sure any variable is used at least 11 times. Then you can pad the variable name as much as you want. It can't be shortened, since that would mean at least 11 changes.

Making sure it was used 11 times (with no easy way to comment it out) was somewhat tricky, but I think I got it.

A more sane version is below. The only difference is whitespace, and I've replaced all instances of [stupidLongVariableName] with p to make it readable.

int[]p(int n){
int i,c=2,p[];
a:
for(p=new int[0];p.length<n;c++){
for(i=0;i<p.length;)
if(c%p[i++]<1)
continue a;
p=Arrays.copyOf(p,p.length+1);
p[p.length-1]=c;
}
return p;
}

# MatLab 197 (Cracked)

Let's see, I've never done this, perhaps this is total crap^^

function l=codegolf_cop_primes(n)
l=primes(n);
end;end;end

# Python 3, 9500 (Cracked by user23013)

def P(n,x="'Good luck!'and([2]*(len(x)==9373)+[3]*(len(x)==9373)+[5]*(len(x)==9373)+[7]*(len(x)==9373)+[11]*(len(x)==9373)+[13]*(len(x)==9373)+[17]*(len(x)==9373)+[19]*(len(x)==9373)+[23]*(len(x)==9373)+[29]*(len(x)==9373)+[31]*(x[0]==x[-1]==x[9372]==\"'\")+[37]*(x[-2]==x[9371]=='!')+[41]*(x.count(chr(39))==100)+[43]*(x.count(chr(34))==98)+[47]*(x.count(chr(92))==1)+[53]*(x.count(' ')==98)+[59]*(x.count(';')==100)+[61]*(x.count(',')==99)+[67]*(x.count('x')==98)+[71]*(x.count('(')==98and x[-29:-1]=='This is the end of the line!'))[:n]+[k for k in range(72, n**2)if all(k%d > 0 for d in range(2, k))][:n-20]if n>=0else'                                                                     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!####################################################################################################%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&(((((((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))******************************************************************************++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,-----------------------------------------------------------------------------------------------............................................................................................////////////////////////////////////////////////////////////////////////////////////////////////////000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111222222222222222222222222222222222222222222222222222222222222222222222222222222222222222223333333333333333333333333333333333333333333333333333333333333333333334444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444445555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666667777777777777777777777777777777777777777777777777777777777777777777777777777777778888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888889999999999999999999999999999999999999999999999999999999999999999999999999999::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<==================================================>>>>>>>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aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffgggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiijjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkklllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssstttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'+'\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"'+\"'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''\"and'This is the end of the line!'"):return eval(x)

Now let's hope I didn't forget about anything... (I did)

## Explanation

I think I had the right idea, but missed a major spot check. I always thought that len("\]") = 1 because the ] gets escaped. But apparently len("\]") = 2....

The idea was to read the program's own source code, in a sense. x is a string storing code to be evaluated in order to give the primes. However here's the catch — when evaluating, checks are performed on x itself, such as:

• Its length
• Counts of certain chars
• Whether the first/last chars are correct

If any of these checks fail, then one of the first 20 primes should fail to be printed. Furthermore, the length checks (of which there are 10!) are done by indexing, so if x is too short then the program will throw an exception.

I think the code would have been hard to crack if I'd taken all the backslashes and double quotes out as I'd initially planned, but I wanted to aim for a perfect 9500. Oh well.

• I got "invalid token" on 0else. It worked after I moved a space before else. – jimmy23013 Jan 16 '15 at 8:40
• @user23013 If you're using an older version of Python it tries to parse it like 1e5. I'm using 3.4.2, if that helps. – Sp3000 Jan 16 '15 at 8:43
• – jimmy23013 Jan 16 '15 at 8:58

# Mathematica, 14 (Open)

So far, everyone answer that actually tried to bowl has been cracked. So I thought, I'd just try to get the first submission in that should remain safe, simply by golfing it instead of bowling it. If this works, I'll try gradually beating this. ;)

Prime@Range@#&

This is a pure function which can be used like

Prime@Range@#&[5]
(* {2, 3, 5, 7, 11} *)
• I am pretty sure this goes against the spirit of the question :) For instance, I can write a CJam 20 bytes that cannot be golfed. – Optimizer Jan 17 '15 at 12:22
• It's a valid submission, but golfed Java will beat you all :P – Nathan Merrill Jan 17 '15 at 12:51
• @Optimizer I haven't seen proof yet that it's possible to write an uncrackable golfed submission, so we've gotta start somewhere. If it is possible, this (and similar submissions in wordier languages) will be beaten and no harm is done. If not, then this kind of submission would be the only sort that would be able to go safe, in which case, it would be weird to say these answers are not in the spirit of the question. – Martin Ender Jan 17 '15 at 13:48
• I was mainly referring to "However, you must do this in the most characters possible" . While the question asks that, its clearly evident that you tried as much as possible to do the opposite :) – Optimizer Jan 17 '15 at 13:52
• @Optimizer My point is, there is no evidence yet that more is possible. And once there is, this submission will be beaten anyway. – Martin Ender Jan 17 '15 at 13:53

## R, 2496 (Cracked)

First time at one of these for me as well :). I think I've complied with the rules

# Python, 5199 (Cracked)

Trying out this approach. See how it goes...

Code used to generate the above:

s="([2]+[v for v in range(1,x*99)if 2**~-v%v==1])[:x]"
def makeFunc(s,g):
return """lambda x:eval(eval("'"""+s.replace("\n","").replace(" ","")+"""'"+".decode('base64').decode('zlib')"*"""+g+"""))"""
def valid(s,g):
s=makeFunc(s,g)
return all(s.count(chr(j))<=100 for j in range(256))
g=0
while valid(s,g):
s=s.encode('zlib').encode("base64")
g+=1
final=makeFunc(s,g)
exec "f="+final
print f(50)
print final
print len(final)

Anyway for now, seems like once you used a combination of base64 and compression (to distribute characters uniformly to maximize possible length), having a safe answer is up to whether the code is golfed to the optimium.

• Cracked – user19057 Jan 16 '15 at 3:41
• This submission would have been invalid anyway because 341 is not a prime ;) – Sp3000 Jan 16 '15 at 5:02
• @Sp3000 Thx for pointing that out. Learn a little sth new from this site everyday. Apologies if this causes any lost points (hopefully some leniency on the number of primes the code must support). But I must say that the cracker deserve credit for the sharp eye to my carelessness. – Vectorized Jan 16 '15 at 10:07

# C#, 161 (Cracked)

Decided to give this a try. Yes that really is a goto, and I think I died a little inside writing it.

• Cracked – feersum Jan 16 '15 at 6:11

# PHP, 3337 (Cracked)

This program creates a function n($n) which returns an array of the first$n primes. If you want to print the primes do something like print_r(n(10)). Warning: Very slow for large numbers of primes!

• Sorry, answer removed, not cracked, since it is not shorter – n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ Jan 16 '15 at 11:53
• Kind of my fault. I displayed a byte count of 3339: it is actually 3337. – Tryth Jan 16 '15 at 11:54
• @flawr php.net/manual/en/… – jimmy23013 Jan 16 '15 at 13:29
• – primo Jan 17 '15 at 9:29

# TI-BASIC, 4513

Input N:Nlength("ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!ABCDEFGHIJKLOPQRSTUVWXYZ3456789?,><.[]{}-=+^*()%!">N:{2>L1:For(A,3,E99:If min(1=gcd(A,seq(A,A,2,A^.5:A>L1(1+dim(L1:End:N/4410>dim(L1:L1
• You don't need close parentheses in TI-BASIC? – KSFT Jan 15 '15 at 20:52
• I think I cracked it codegolf.stackexchange.com/a/44575/31347 – MickyT Jan 15 '15 at 21:06
• @KSFT Nope. :-) – Timtech Jan 15 '15 at 22:37
• Does this really work? I think you need a space between N and length(, because Nlength is to my knowledge not a valid function. – flawr Jan 16 '15 at 9:02
• @flawr Did you know? In TI-Basic, multiplication is implied. Making it N*length( would be an easy shorten. – Timtech Jan 16 '15 at 19:19

K"t0}Wi+vjx\"@qYZpR@7,c}U3e6s:hmpe* M}|C?I_WN6'a(Z#%+oOE_N_AqmAgaG|OX>uF5Qn!m{sPQ4ki;7]0-ecJ;[*S!qn#V=:4aRtpk5FXXa5q|!nkUo9-u>]Ovf2('(^~/328U!O&3[\"Ho~w?qZ<86]Rvpmtf}*$yYXeBcOYT1$qG+S$S/>j)D)cd9H7l*l;;c%1<?JHX7 5o0ii7-@_xDKoKG0ir{g{;$Ma=Cbd 75e3%UAK/7f'sH OuI*),YmCxwEF';6Sc,u76A&1j~Jo9c0Tq)#)tQKw;Mrpk!br#Q _B,mSXH4#Dy t{vmg8=%cznRxw9U,_5[xGsS[$(X:XOfsslKkj%Lyx!}C<uEWaS<yn->#'hK5d1t>&-zF;NiO;u?Kf_Nj!Vxcp!u1ylxpUG3yp^I1?y)4&[}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ZotvW1CY1fo|ovajfWI:>?TU?{Y)o)<d1QF[!.YQFa uk4zm){M#UH3E(a71K?RVm&&.l98|3h3RzdIK~bf1,3vH6PLAF8jj\"#&9?8lA8&>*.HZ5gnuwX<P9.4P}L9q 7Sou}RFxyG1Igl7T@%!3K-De{tbXcK8?TW^vm@i8ItnWV',&^_Jf&#j6AxRNIZV!YsMGm#{t9tRO|xUVTba5=|S5qnEPl!6hMRqh}M[g-Q!A<M3 +'t>P&;3U+a*T0.br=5_Q=WJI>ZFgVEb*<y3rn(=^y7_)#wKxw;?n3xKl+\"WvoP=7YjuO9Ds3R,5~j21qf8M|\")n~dr\">:8ff787>u0l/~?z@NNOe):!AJ8|,hvBMG,<#A^ug\"5<bakdvV\"rfUD^:8{BK9E<pKoxX=+[MA4?>ry>,lCBChRD6W!7ksyl%PHvWyG%t[lShR*Va7i3Q/[K \"+NME[dbU7(bQ;G(~/:Ej zG}3<:%T@4e<vFSIX[LyMrR!6az|WmW@9:wtZO!=N%*<@<SK9:rzG\"Yp?K coGTM*9YoU{]b]O1F*K%bma=bcs?4IqjW.RUxor#<;]k,2Xr9'K|UA}xe4|iI^UuGtvRS+5]C%WZH/p2+3xTVVmPT_X\"S+l'y>e@mgL!*p* w@A4&~mr^P)l8?9y<9,N//TA}H@?+mi&h-#jE~iz9! 8/BZo~}_2fQA{C{v1r6#r=%Zq:Tu[_;&4|stlc=| VVY1?J!,sxS5-|^a3)I"'~/'\*{i\)mqs'.-i+94md' +\}/;]~ It works only in the online interpreter. Tested in Firefox. It doesn't work in the Java interpreter. Changed it to create a function T. Use 10 Tp after that line to test. • @Optimizer It was a complete program. Now changed it to a function. – jimmy23013 Jan 15 '15 at 22:22 • @Optimizer Fixed. – jimmy23013 Jan 15 '15 at 22:25 • Cracked I think codegolf.stackexchange.com/a/44584/31347 – MickyT Jan 15 '15 at 22:50 # CJam, 816 (Cracked) 2096310474722535167101644870465221130589294718524480357298593539991449081456134974040327647811988614006547797131583006214774425505300308072534652704698066198168917157808088127072977533505828030424680462284796680517062482806071903877790511864982169694627161605805004020026776166437905874324921940992417561695490946773393335345359408853148348949580796568713745813831280652341152402924541125638927689856083360967358992399503448120976930749396205332801012617624500616793294935391926550972449345223742044846417092758797166517935273839376542415759222999108744843547749052422322505847239684550378130982502607844441524249912214473298703307285931801940096458075553488261398391072450942373513854346538654787042832255689633663897703600453311016458268536228117201022525438843626260325862965735311855887334994546704703657K)_#b:c~ This creates a function F which can be used like 9 F where 9 is the input N and this function leaves first N prime numbers on the stack. Try it online here • – jimmy23013 Jan 16 '15 at 5:08 # Java 8, 1785 (Cracked) This uses a magic string to generate primes. import java.lang.reflect.*;import java.util.*;class P extends ClassLoader{public static void main(String[]a)throws Exception{System.out.print(new P().primes(Integer.parseInt(a[0])));}List<Integer>primes(int n)throws Exception{byte[]b=Base64.getDecoder().decode("yv66vgAAADQAQwoADQAmBwAnCgACACYLACgAKQsAKAAqCwArACwLACsALQcALgoACAAvCgAIADALACgAMQcAMgcAMwEABjxpbml0PgEAAygpVgEABENvZGUBAA9MaW5lTnVtYmVyVGFibGUBABJMb2NhbFZhcmlhYmxlVGFibGUBAAR0aGlzAQAITFByaW1lczsBAAFnAQATKEkpTGphdmEvdXRpbC9MaXN0OwEABXByaW1lAQABSQEAAWkBAAFuAQAGcHJpbWVzAQAQTGphdmEvdXRpbC9MaXN0OwEAFkxvY2FsVmFyaWFibGVUeXBlVGFibGUBACVMamF2YS91dGlsL0xpc3Q8TGphdmEvbGFuZy9JbnRlZ2VyOz47AQANU3RhY2tNYXBUYWJsZQcANAcANQEACVNpZ25hdHVyZQEAKChJKUxqYXZhL3V0aWwvTGlzdDxMamF2YS9sYW5nL0ludGVnZXI7PjsBAApTb3VyY2VGaWxlAQALUHJpbWVzLmphdmEMAA4ADwEAE2phdmEvdXRpbC9BcnJheUxpc3QHADQMADYANwwAOAA5BwA1DAA6ADsMADwAPQEAEWphdmEvbGFuZy9JbnRlZ2VyDAA+ADcMAD8AQAwAQQBCAQAGUHJpbWVzAQAQamF2YS9sYW5nL09iamVjdAEADmphdmEvdXRpbC9MaXN0AQASamF2YS91dGlsL0l0ZXJhdG9yAQAEc2l6ZQEAAygpSQEACGl0ZXJhdG9yAQAWKClMamF2YS91dGlsL0l0ZXJhdG9yOwEAB2hhc05leHQBAAMoKVoBAARuZXh0AQAUKClMamF2YS9sYW5nL09iamVjdDsBAAhpbnRWYWx1ZQEAB3ZhbHVlT2YBABYoSSlMamF2YS9sYW5nL0ludGVnZXI7AQADYWRkAQAVKExqYXZhL2xhbmcvT2JqZWN0OylaACEADAANAAAAAAACAAEADgAPAAEAEAAAAC8AAQABAAAABSq3AAGxAAAAAgARAAAABgABAAAABAASAAAADAABAAAABQATABQAAAAJABUAFgACABAAAADpAAIABQAAAFK7AAJZtwADTAU9K7kABAEAGqIAPyu5AAUBAE4tuQAGAQCZAB4tuQAHAQDAAAi2AAk2BBwVBHCaAAanABGn/98rHLgACrkACwIAV4QCAaf/vSuwAAAABAARAAAAJgAJAAAABwAIAAgAFAAJADIACgA5AAsAPAANAD8ADgBKAAgAUAAQABIAAAAqAAQAMgAKABcAGAAEAAoARgAZABgAAgAAAFIAGgAYAAAACABKABsAHAABAB0AAAAMAAEACABKABsAHgABAB8AAAAXAAb9AAoHACAB/AAQBwAhIPoAAgr6AAUAIgAAAAIAIwABACQAAAACACU");Class<?>p=defineClass("Primes",b,0,1052);Method m=p.getMethod("g",int.class);return(List<Integer>)m.invoke(null,n);}} • Cracked – n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ Jan 16 '15 at 6:06 • Regarding your deleted answer, are you sure there is a solution? If you know of a solution, then I will remove the downvote if you undelete it. – n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ Jan 16 '15 at 23:27 • @n̴̖̋h̷͉̃a̷̭̿h̸̡̅ẗ̵̨́d̷̰̀ĥ̷̳ I removed it because of Optimizer's comment. The magic string in the code checked the source code. I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>=;OTy+*rFM4/>[AO(tZYXn'9zly3&RkA> n g%y!8f&pXdM>)uib~@|q4l)#IwQ2Joryn</WN(1']@]>P;A%llX9.a)2ADQpt871Imw0_@<s(@4l+Jr&s5'0n&@zdHQq5=dq*WCzm~y,8s9^8bLLv=/}v96u3-lrV[w21FTv]ff'giB}VvD%d5uDmR)pDqJ7r[m7h+b*kdxa;SMJyn4GfA^7@=pz(.[3CwR*pdG!,bUEYJM27>?*Q(E{UlcAnA08ur|Om72~[XlPKZM 36}mt@YOxYJ2LH9Z:q-z9i[%D:fCK5>F;L8X5-VZA'gEX9Bi]_[vJ%.3&LoR1kkd8@IOYaGL8H4YfzAulTg/XXDV4B=4N~k3N>JaTK#k5#I-#Y71op0Iyh7Nre(@<PN{3JJOc8McRuXCjEg!jSE{b&[.RppnfQjJ0@DBgj81)#X|8^5M^#S"'~/'"*S/'\*{i\sW%iP*mqs'.-i+_93%'!+\}/;]~ Works only in the online interpreter. It will create a function T. Example: 10 Tp. • Isn't this almost based on the same pattern as the other one ? – Optimizer Jan 16 '15 at 13:38 • @Optimizer Yes. But I fixed that flaw. – jimmy23013 Jan 16 '15 at 13:39 • – Optimizer Jan 16 '15 at 14:34 # CJam, 847 (Cracked) I swear this is the last one using this approach. 4779659069705537686629306155471157384185002665906714111039332233593305253079468024508943067783073619511162371004177761083906937019123280598903720691594788933998823566336886958487485882188081404453554140645458850256480477816754760296759608081868733889572904453777025857233956964359287627735920112545668451419633327348759828062858429551649268603103093273185548244528692381865244563710320514626922926579018891737532361295075806571486288031909749328444136657730394954950591089720665303368383306773979761795939998834047059891711321663733546692144057374799580281864662626927123661467550653064624501175880393774197348826665071960854773911967066677298613781653567324550746617015776799557587373107689983516628129486795118747367224275071679155545175621238368159967426890170894035742040653492311755971330981951171079833152098813713009957610693562K)_#b:cG/zs~ Same as all others, creates a function T which can be called like 10T]p to get the first N (here 10) primes. Try it online here • – jimmy23013 Jan 17 '15 at 8:35 # Python 3, 9302 bytes (Cracked by user23013) def P(n,x="'Time to try again!'and x[9273]and x[9273]and x[9273]and x[9273]and x[9273]and x[9273]and x[9273]and x[9273]and x[9273]and x[9273]and x[9273]and sorted(sorted(sorted(sorted(sorted(sorted(sorted(sorted(sorted(sorted(sorted([2]*(len(x)==9274 and x[9273] and n>=1)+[3]*(len(x)==9274 and x[9273] and n>=2)+[5]*(len(x)==9274 and x[9273] and n>=3)+[7]*(len(x)==9274 and x[9273] and n>=4)+[11]*(len(x)==9274 and x[9273] and n>=5)+[k for k in range(79,n*n)if all(k%d>0for d in range(2,k))][:max(0,n-21)]+[13]*(len(x)==9274 and x[9273] and n>=6)+[17]*(len(x)==9274 and x[9273] and n>=7)+[19]*(len(x)==9274 and x[9273] and n>=8)+[23]*(len(x)==9274 and x[9273] and n>=9)+[29]*(len(x)==9274 and x[9273] and n>=10)+[31]*(len(x)==9274 and x[9273] and n>=11)+[37]*(x[9273]==chr(39)and n>=12))+[41]*(x[9272]==chr(33)and n>=13))+[43]*(x[9271]==chr(115)and n>=14))+[47]*(x[9270]==chr(107)and n>=15))+[53]*(x[9269]==chr(108)and n>=16))+[59]*(x[9268]==chr(111)and n>=17))+[61]*(x[9267]==chr(102)and n>=18))+[67]*(x[9266]==chr(32)and n>=19))+[71]*(x[9265]==chr(44)and n>=20))+[73]*(x[9264]==chr(108)and n>=21))) or 'Uh oh' if n>0 else [] if n==0 else ''' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!####################################################################################################$$$$%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&'&&&&&&&&&&&&&((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))******************************************************************************+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,---------------------------------------------------------------------------------------------------....................................................................................................////////////////////////////////////////////////////////////////////////////////////////////////////00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000111111111111111111111111111111111111111111111111111111111111111111122222222222222222222222222222222222222222222233333333333333333333333333333333333333333333333333333333333333344444444444444444444444444444444444444444444444444444444444444444444444444444444455555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555566666666666666666666666666666666666666666666666666666666666666666666666666666666666666666777777777777777777777777777777777777777777777777777888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888889999999999999999999999999999999999999999999999999::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<==================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>????????????????????????????????????????????????????????????????????????????????????????????????????@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@AAAAAAAAAAAAAAAA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UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^____________________________________________________________________________________________________aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccdddddddddddddddddddddddddddddddddddddddddeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeefffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiijjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkklllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnnnooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppppqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrsssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~''' or 'And thats all, folks!'"):return eval(x) This time I've avoided backslashes and double quotes like the plague. No chance for a perfect 9500, but I'll be happy if this even manages to stay uncracked... • – jimmy23013 Jan 17 '15 at 16:52 # C# - 233 - Cracked static IEnumerable<int>F(int N){var a=new List<int>();var w=2;while(a.Count<N){Func<int,int,bool>c=(o,k)=>(o%k)!=0;Action<List<int>,int>d=(t,n)=>t.Add(n);var p=true;var f=w/2;for(int i=2;i<=f;){p=c(w,i++);}if(p)d(a,w);w++;}return a;} • I think this is Cracked – SLuck49 Jan 15 '15 at 21:49 # PHP v2 - Cracked! Second attempt, should be more resilient to attack now that I understand the rules! Here's the code revised from v1, note it is more than just changing print to echo, so I just didn't copy the cracked version from KSFT. (Actually, I used func instead of function in v1, so it's technically invalid.) function f(N){for(X=2;N>0;N--,X=gmp_nextprime(X))echo gmp_strval(X)."\n";} Note the N > 0 condition is important, without it the function fails for N < 0. In the rules it says N is an integer, so I allowed handling of negative integers, but in the Robbers thread it mentions "given the same valid input". N < 0 is an integer and technically valid input, but does it make sense to ask for -5 primes? As a cop, I'm going with my rules, so while it doesn't make sense, it is still valid input. Use f(argv[1]); to call. Save as primes.php, run via command line:  php primes.php 10 2 3 5 7 11 13 17 19 23 29 • Cracked (for real this time?) – Tryth Jan 16 '15 at 1:08 • @Tryth - Agreed! – user15259 Jan 16 '15 at 1:16 # Java, 328 (Cracked) Another magic string method. Much shorter (unfortunately). :( import java.util.*;class P{public static void main(String[] args){System.out.print(new P().a(Integer.parseInt(args[0])));}List<Integer>a(int n){List<Integer>a=new ArrayList<>();int i=0;while(a.size()<n){if(b(++i)){a.add(i);}}return a;}boolean b(int n){String a="";for(int i=0;i++<n;)a+=1;return!a.matches("^1?|^(11+?)\\1+");}} # Java, 485 (Cracked) This is a full program. Output is in Java list format with a trailing newline. This uses portions of the concurrency API to bloat the program. This fails if n > Integer.MAX_VALUE. import java.util.concurrent.*;class P{public static void main(String[]a)throws Exception{new java.io.FileOutputStream(java.io.FileDescriptor.out).write((new P().p(Integer.parseInt(a[0]))+"\n").getBytes());}CopyOnWriteArrayList<Integer>p(int n){int i=0;java.util.AbstractSequentialList<Integer>p=new java.util.LinkedList<>();while(p.size()<n)if(i(++i))p.add(i);return new CopyOnWriteArrayList<>(p);}boolean i(int n){if(n<2)return 0>1;for(int i=1;++i<n;)if(n%i<1)return 0>1;return 1>0;}} # CJam, 844 (Cracked) 12247876366120440321987597021850303099642933156438096645849638833333796669145152157730940027890107281005910531197663816515537375105813004395899380585836297635211554406835251714644233377311180313806351554322591378031790757554316749763716910092225660788618471820881301518717801906372848112696524416568549935114340687733586827456214369410510395419921556825071212523337705803228595799373212401103152036673548421780881324448501082512655185005238821681990803145396009000973909800507781916769743162191496991228611317139593059968851018760665715388977769175766784944571868905607977583735512313028165561919771363465459087009309674834093296148584222690589604662407057035011740513343663528793002419282203653286073637418998298970726277476827911767544330705406278724865591029429120559455120218309440233354746066412254694019741678988828410289014532382K)_#b:c~ Creates a function T takes in the input N as input and leaves first N prime numbers on stack. Use it like 10T]p Try it online here • – jimmy23013 Jan 16 '15 at 15:24 # PHP v3 (78 chars) - Open Cracked (?) Third attempt! Not going to deny it, this is just blatantly copying the cracked code from Tryth. function f(N){for(X=2;N-->0;X=gmp_nextprime(X))echo gmp_strval(X)."\n";} Note the >0 check is important, without it the function fails for N < 0. In the rules it says N is an integer, so I allowed handling of negative integers, but in the Robbers thread it mentions "given the same valid input". N < 0 is an integer and technically valid input, but does it make sense to ask for -5 primes? As a cop, I'm going with the rules I was given, so while it doesn't make sense, it is still valid input. Use f(argv[1]); to call. Save as primes.php, run via command line:  php primes.php 10 2 3 5 7 11 13 17 19 23 29 # CJam, 6765 (Open) "gy;(q<hE23_@&]1;rIYoZA=(6j-'r@aJtcLDxe#19#s1m0VN~T|zD*YAS?/@LutnDPg'JyS-4#3y|CeTgN&GPs9D&p9!D{C9jisBvuyeBE]P)n<ofN;m:rInU%g-EH!nQxZB[Q8d^:0*2Gv{yW9>sUD'0Y5K66tq6C6&4mX}}790d;7MxcAS:m vo~q5utb4.mJ{UV']K#HXwYu[|py8DdIBD>0!^s7i?N'7krrp/iqZPCJ^?SNoOR7VxQ1,w:ID!VSf,R.TFV!tCAlwH9v&d3w8F-Xvt/i%j%%vA2{+kX]i 6_T3SW1DkB~,]p>:xWX/eF19n0[21AI9f2(@W<?n2AX0iV{7SJYDz*!t> ;nb:n+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RuXCjEg!jSE{b&[.RppnfQjJ0@DBgj81`)#X|8^5M^#S"'~/'"*S/'\*{iKsW%iP*mqs'.-i+:K93%'!+}%~

I'm not sure how safe it is. But have fun cracking it.

It works only in the online interpreter.

It will create a function T. Example: 10 Tp.

• Isn't this my cracked solution to your last submission ? With a deliberately added extra byte removed ? – Optimizer Jan 17 '15 at 14:45
• @Optimizer It is. – jimmy23013 Jan 17 '15 at 14:47
• Even after I clearly mentioned that the cracked attempt is uncrackable ? – Optimizer Jan 17 '15 at 14:47
• @Optimizer I guess many of the robbers' answers are considered uncrackable when they are posted, but didn't survive too long. – jimmy23013 Jan 17 '15 at 14:50
• Even if that is true, this algorithm specifically is hard to crack. Also, do keep in mind that right now, its not a cop vs a robber, but a robber vs a robber as you simply used one of the answers from the robber's post. I have raised a point with OP to see if this should be banned. – Optimizer Jan 17 '15 at 14:52

# Mathematica, 21 (Cracked)

Table[Prime@n,{n,#}]&

I am still new to Mathematica, but I think this cannot be golfed further with a max distance of 10.

This is an anonymous function which can be called like

Table[Prime@n,{n,#}]&[5]

to get

{2,3,5,7,11}

PS: I created a trial account of Mathematica Online just to prove Martin wrong :)

# CJam, 24 bytes (cracked)

{1{)__mp{@(_@\}*}g@?}:F;

This creates a function F which takes argument on stack and leaves that many first prime numbers.

Example usage:

10 F]p

Result:

[2 3 5 7 11 13 17 19 23 29]

Try it online here

f n=take n$id=<<id=<<fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)fmap(<$>)id[[primes]] That's a total of 192 fmaps. If you had enough memory to actually compile this (you don't), ghc would factorize it to fmap.fmap.fmap. You crack my answer if you can prove that a (<$>) can be replaced with a (.).