We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

User:Aadenboy/546372

From Esolang
Jump to navigation Jump to search

546372 (pronounced "fifty-four, sixty-three, seventy-two") is an esoteric programming language by User:Aadenboy.

The language has a counter that is an unbounded integer starting at one. Each command is a triplet of three numbers Y, B, and G. The program infinitely loops.

  • If the factorization of the counter has Y or less instances of G, skip the next B commands. G must be greater than 1.
  • If the factorization of the counter has B or more instances of Y, multiply the counter by G. Y and G must be greater than 1.
  • If the factorization of the counter has G or more distinct prime factors, divide the counter by B, then skip the next Y commands. B must be greater than 1.

Examples

A+B Problem

020032 030027 022 303 042

02 00 32
03 00 27
0 2 2
3 0 3
0 4 2