Prime hell
Jump to navigation
Jump to search
Prime hell is an esolang where only one variable allowed, N. The program starts with N=1.
characters: @!%#[]
Command | Description |
---|---|
@
|
add 1 to N |
!
|
multiply all nonzero n such that max{a such that (p^a divides N)}=n for some prime p |
%
|
multiply N by number of user's choice |
#
|
print n where n=max{a such that (2^a divides N)} |
[
|
NOP |
]
|
if N is odd go back to last [ otherwise, NOP
|
Prime hell is a minimalist esolang designed to be extremely difficult, as of 2025 it is not known if it is turning complete. good luck!