Pyth, 8 bytes
h.<t*QQt
#Pyth, 8 bytes h.<t*QQt pyth.herokuapp.com
Explanation:
Q Input
Q Input
* Multiply
t Decrement
t Decrement the input
.< Left bitshift
h Increment
#Pyth, 8 bytes h.<t*QQt pyth.herokuapp.com
Explanation:
Q Input
Q Input
* Multiply
t Decrement
t Decrement the input
.< Left bitshift
h Increment
Pyth, 8 bytes
h.<t*QQt
Explanation:
Q Input
Q Input
* Multiply
t Decrement
t Decrement the input
.< Left bitshift
h Increment
#Pyth, 8 bytes h.<t*QQt pyth.herokuapp.com
Explanation:
*QQ Q Multiply the inputInput
with itself Q Input
* Multiply
t Decrement
t Decrement the input
.< Left bitshift
h Increment
#Pyth, 8 bytes h.<t*QQt pyth.herokuapp.com
Explanation:
*QQ Multiply the input with itself
t Decrement
t Decrement the input
.< Left bitshift
h Increment
#Pyth, 8 bytes h.<t*QQt pyth.herokuapp.com
Explanation:
Q Input
Q Input
* Multiply
t Decrement
t Decrement the input
.< Left bitshift
h Increment
#Pyth, 8 bytes h.<t*QQt pyth.herokuapp.com
Explanation:
*QQ Multiply the input with itself
t Decrement
t Decrement the input
.< Left bitshift
h Increment