Post History
Japt, 11 10 bytes >0©ÒßUÉ/°T Try it >0©ÒßUÉ/°T :Implicit input of integer U >0 :Greater than 0? © :Logical AND with Ò :Negate the bitwise ...
Answer
#4: Post edited
- # [Japt](https://github.com/ETHproductions/japt), <s>11</s> 10 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- >0©ÒßUÉ/°T
[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=PjCp0t9VyS%2bwVA&input=NA)
- # [Japt](https://github.com/ETHproductions/japt), <s>11</s> 10 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- >0©ÒßUÉ/°T
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=PjCp0t9VyS%2bwVA&input=NA)
- >0©ÒßUÉ/°T :Implicit input of integer U
- >0 :Greater than 0?
- © :Logical AND with
- Ò :Negate the bitwise NOT of (i.e., increment)
- ß :Recursive call with argument
- UÉ/ : U minus 1 divided by ...
- °T : T (initially 0) prefix incremented
#3: Post edited
# [Japt](https://github.com/ETHproductions/japt), 11 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)@§XõpJ x}a1[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=QKdY9XBKIHh9YTE&input=NA)@§XõpJ x}a1 :Implicit input of integer U@ :Function taking an integer X as argument§ : Is U <= ...Xõ : Range [1,X]p : Raise each to the power ofJ : -1x : Reduce by addition} :End functiona1 :Get the first integer >=1 that returns true
- # [Japt](https://github.com/ETHproductions/japt), <s>11</s> 10 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- >0©ÒßUÉ/°T
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=PjCp0t9VyS%2bwVA&input=NA)
#2: Post edited
- # [Japt](https://github.com/ETHproductions/japt), 11 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
@§XõpJ x}aÄ[Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=QKdY9XBKIHh9YcQ&input=NA)
- # [Japt](https://github.com/ETHproductions/japt), 11 [bytes](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
- @§XõpJ x}a1
- [Try it](https://petershaggynoble.github.io/Japt-Interpreter/?v=1.4.6&code=QKdY9XBKIHh9YTE&input=NA)
- @§XõpJ x}a1 :Implicit input of integer U
- @ :Function taking an integer X as argument
- § : Is U <= ...
- Xõ : Range [1,X]
- p : Raise each to the power of
- J : -1
- x : Reduce by addition
- } :End function
- a1 :Get the first integer >=1 that returns true