Post History
Japt, 13 12 bytes o fj ï æ@¶Xx Try it o fj ï æ@¶Xx :Implicit input of integer U o :Range [0,U) f :Filter by j : Is prime? ï ...
#3: Post edited
- # [Japt](https://github.com/ETHproductions/japt), <s>13</s> 12 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- o fj ï æ@¶Xx
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=byBmaiDvIOZAtlh4&input=MjQ)
o ï æ@¶Xx*Xej :Implicit input of integer Uo :Range [0,U)ï :Cartesian productæ :First pair X that returns true@ :When passed through the following function¶ : Test U for equality withXx : X Reduced by addition* : Multiplied byXe : Is every element in Xj : Prime?
- # [Japt](https://github.com/ETHproductions/japt), <s>13</s> 12 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- o fj ï æ@¶Xx
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=byBmaiDvIOZAtlh4&input=MjQ)
- o fj ï æ@¶Xx :Implicit input of integer U
- o :Range [0,U)
- f :Filter by
- j : Is prime?
- ï :Cartesian product with itself
- æ :First pair X that returns true
- @ :When passed through the following function
- ¶ : Test U for equality with
- Xx : X Reduced by addition
#2: Post edited
# [Japt](https://github.com/ETHproductions/japt), 13 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)o ï æ@¶Xx*Xej[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=byDvIOZAtlh4Klhlag&input=MjQ)- o ï æ@¶Xx*Xej :Implicit input of integer U
- o :Range [0,U)
- ï :Cartesian product
- æ :First pair X that returns true
- @ :When passed through the following function
- ¶ : Test U for equality with
- Xx : X Reduced by addition
- * : Multiplied by
- Xe : Is every element in X
- j : Prime?
- # [Japt](https://github.com/ETHproductions/japt), <s>13</s> 12 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- o fj ï æ@¶Xx
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=byBmaiDvIOZAtlh4&input=MjQ)
- o ï æ@¶Xx*Xej :Implicit input of integer U
- o :Range [0,U)
- ï :Cartesian product
- æ :First pair X that returns true
- @ :When passed through the following function
- ¶ : Test U for equality with
- Xx : X Reduced by addition
- * : Multiplied by
- Xe : Is every element in X
- j : Prime?
#1: Initial revision
# [Japt](https://github.com/ETHproductions/japt), 13 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
o ï æ@¶Xx*Xej
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=byDvIOZAtlh4Klhlag&input=MjQ)
o ï æ@¶Xx*Xej :Implicit input of integer U
o :Range [0,U)
ï :Cartesian product
æ :First pair X that returns true
@ :When passed through the following function
¶ : Test U for equality with
Xx : X Reduced by addition
* : Multiplied by
Xe : Is every element in X
j : Prime?
