Preparation

From Esolang
Jump to navigation Jump to search
Preparation
Paradigm(s) String-rewriting
Designed by User:Hakerh400
Appeared in 2023
Computational class Unknown
Major implementations Implemented
File extension(s) .txt

Preparation is an esolang invented by User:Hakerh400 in 2023.

Syntax

Source code consists of a single natural number.

Overview

Let be the natural number from the source code. We define infinite sequence such that and for any natural number , where . Notation represents the ceiling function.

Input/Output

There is no input. The output is the sequence up to the first repeating number.

Example

Let the source code be . Here is the sequence :

1234
2232
3456
1475
1794
2365
1764
3655
4026
4480
603
550
624
25
66
135
108
143
12
16
45
28 <--\
48    |
7     |
6     |
9     |
28 ---/

Explanation. Start with . Calculate and . Continue similarly for the rest of the sequence.

Computational class

The author conjectures that this language is total.

Implementation

Implementation