Post History
Python 3.8, 44 bytes Uses a modulus of 2**16 == 4**8 == 65536. for i in range(1,98,2):print(pow(i,-1,4**8)) How it works: for i in # Iterator ra...
#1: Initial revision
# [Python 3.8], 44 bytes
Uses a modulus of `2**16 == 4**8 == 65536`.
```python
for i in range(1,98,2):print(pow(i,-1,4**8))
```
How it works:
```
for i in # Iterator
range(1,98,2): # Odd numbers below 98
print(pow(i,-1,4**8)) # Prints modinv with modulus
# 2 ** 16 == 4 ** 8 == 65536.
```
Note that this is valid since `pow(i,j,k)` has been possible since Python 3.8.
[Python 3.8]:https://www.python.org/
