This repository has been archived by the owner on Mar 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUI.txt
104 lines (96 loc) · 10.4 KB
/
UI.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
┌┬────────┬─────────────────────────────────────────────────────┐
││ KARY │ │
│└────────┘ │
│ ___ ___ ___ ___ ___ ___ │
│ /\ \ /\ \ /\ \ /\ \ /\ \ /\ \ │
│ /::\ \ /::\ \ /::\ \ _\:\ \ /::\ \ /::\ \ │
│ /\:\:\__\ /::\:\__\ /::\:\__\ /\/::\__\ /::\:\__\ /\:\:\__\ │
│ \:\:\/__/ \:\:\/ / \;:::/ / \::/\/__/ \:\:\/ / \:\:\/__/ │
│ \::/ / \:\/ / |:\/__/ \:\__\ \:\/ / \::/ / │
│ \/__/ \/__/ \|__| \/__/ \/__/ \/__/ │
│ │
├───────────────────────────────────────────────────────────────┤
│::::::::::::::::: SEE HOW GOOD YOUR'E IN MATH :::::::::::::::│
├───────────────────────────────────────────────────────────────┤
└───────────────────────────────────────────────────────────────┘
┌─────────────┬─────────────────────────────────────────────────┐
│ KARY SERIES │::: Q U E S T I O N :::::::::::::::::::::::::::::│
├─────────────┴─────────────────────────────────────────────────┤
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────┘
┌─────────────┬─────────────────────────────────────────────────┐
│ KARY SERIES │::: I N P U T :::::::::::::::::::::::::::::::::::│
└─────────────┴─────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────┐
│ PRESS ANY KEY TO CONTINIUE │
└───────────────────────────────────────────────────────────────┘
┌─────────────┬─────────────────────────────────────────────────┐
│ KARY SERIES │::: F A I L E D :::::::::::::::::::::::::::::::::│
├─────────────┴─────────────────────────────────────────────────┤
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────┘
┌───────────────────────────────────────────────────────────────┐
│ WELL DONE! TRULY! LET'S GO TO THE NEXT LEVEL... │
└───────────────────────────────────────────────────────────────┘
┌┬────────┬─────────────────────────────────────────────────────┐
││ KARY │ │
│└────────┘ │
│ │
│ │
│ __ __ __ __ _ │
│ \ \ / / \ \ / / | | │
│ \ \_/ /__ _ _ \ \ /\ / /__ _ __ | | │
│ \ / _ \| | | | \ \/ \/ / _ \| '_ \| | │
│ | | (_) | |_| | \ /\ / (_) | | | |_| │
│ |_|\___/ \__,_| \/ \/ \___/|_| |_(_) │
│ │
│ Congratulations! You proved to be a great mater │
│ in understanding sequences! Well done, Truly! │
│ │
│ │
│ │
│ │
└───────────────────────────────────────────────────────────────┘
┌─────────────┬─────────────────────────────────────────────────┐
│ KARY SERIES │::: I N T R O :::::::::::::::::::::::::::::::::::│
├─────────────┴─────────────────────────────────────────────────┤
│ │
│ Welcome to Kary Series. It's about fining the general formula │
│ of sequences. In each level you will get 10 first index of a │
│ sequence and you have to find a formula for it. For example: │
│ │
│ [ 1, 3, 5, 7, 9, 11, 13, 15, 17, 19 ] │
│ │
│ And then you will see a prompt like >>> which you have to │
│ your formula there. You have to use parameter `x` as your │
│ index number so the formula will be something like this: │
│ │
│ >>> x * 2 - 1 │
│ │
└───────────────────────────────────────────────────────────────┘
┌─────────────┬─────────────────────────────────────────────────┐
│ KARY SERIES │::: I N T R O :::::::::::::::::::::::::::::::::::│
├─────────────┴─────────────────────────────────────────────────┤
│ │
│ You can get the previous index's value by using parameter │
│ `p` for example look at this sequence: │
│ │
│ [ 1, 3, 6, 10, 15, 21, 28, 36, 45, 55 ] │
│ │
│ Each index is the sum of it's previous index and it's │
│ current index number so the formula will be: │
│ │
│ >>> p + x │
│ │
│ NOTE: for the very first index `p` returns zero. │
│ │
└───────────────────────────────────────────────────────────────┘