Skip to content

Commit 2080b94

Browse files
edreJRaspass
authored andcommitted
Add the "λ (Conway's constant)" hole. (#45)
Updates #3
1 parent 834750b commit 2080b94

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

categories.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Quine
1919
τ
2020
φ
2121
𝑒
22+
λ (aka Conway's constant)
2223
√2 *todo* (aka Pythagoras' constant)
2324
γ *todo* (aka Euler–Mascheroni constant)
24-
λ *todo* (aka Conway's constant)
2525
K *todo* (aka Khinchin's constant)
2626

2727
= Sequence =

db.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ CREATE TYPE public.hole AS ENUM (
6161
'π',
6262
'τ',
6363
'φ',
64-
'𝑒'
64+
'𝑒',
65+
'λ',
6566
);
6667

6768

routes/answers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,4 +1040,5 @@ Buzz`,
10401040
"φ": `1.6180339887498948482045868343656381177203091798057628621354486227052604628189024497072072041893911374847540880753868917521266338622235369317931800607667263544333890865959395829056383226613199282902678806752087668925017116962070322210432162695486262963136144381497587012203408058879544547492461856953648644492410443207713449470495658467885098743394422125448770664780915884607499887124007652170575179788341662562494075890697040002812104276217711177780531531714101170466659914669798731761356006708748071013179523689427521948435305678300228785699782977834784587822891109762500302696156170025046433824377648610283831268330372429267526311653392473167111211588186385133162038400522216579128667529465490681131715993432359734949850904094762132229810172610705961164562990981629055520852479035240602017279974717534277759277862561943208275051312181562855122248093947123414517022373580577278616008688382952304592647878017889921990270776903895321968198615143780314997411069260886742962267575605231727775203536139362`,
10411041
"𝑒": `2.7182818284590452353602874713526624977572470936999595749669676277240766303535475945713821785251664274274663919320030599218174135966290435729003342952605956307381323286279434907632338298807531952510190115738341879307021540891499348841675092447614606680822648001684774118537423454424371075390777449920695517027618386062613313845830007520449338265602976067371132007093287091274437470472306969772093101416928368190255151086574637721112523897844250569536967707854499699679468644549059879316368892300987931277361782154249992295763514822082698951936680331825288693984964651058209392398294887933203625094431173012381970684161403970198376793206832823764648042953118023287825098194558153017567173613320698112509961818815930416903515988885193458072738667385894228792284998920868058257492796104841984443634632449684875602336248270419786232090021609902353043699418491463140934317381436405462531520961836908887070167683964243781405927145635490613031072085103837505101157477041718986106873969655212671546889570350354`,
10421042
"τ": `6.2831853071795864769252867665590057683943387987502116419498891846156328125724179972560696506842341359642961730265646132941876892191011644634507188162569622349005682054038770422111192892458979098607639288576219513318668922569512964675735663305424038182912971338469206972209086532964267872145204982825474491740132126311763497630418419256585081834307287357851807200226610610976409330427682939038830232188661145407315191839061843722347638652235862102370961489247599254991347037715054497824558763660238982596673467248813132861720427898927904494743814043597218874055410784343525863535047693496369353388102640011362542905271216555715426855155792183472743574429368818024499068602930991707421015845593785178470840399122242580439217280688363196272595495426199210374144226999999967459560999021194634656321926371900489189106938166052850446165066893700705238623763420200062756775057731750664167628412343553382946071965069808575109374623191257277647075751875039155637155610643424536132260038557532223918184328403978`,
1043+
"λ": `1.3035772690342963912570991121525518907307025046594048757548613906285508878524615571268157668644252255534713930470949026839628498935515543473758248566910889777702165760066666136181957581499714162117477679231324299325720143046277132953880169252753163112124160278974455631122119289176594544284422105034839844304843503659788616365686961229330052179678121274207274283384185853897804629753621113325713155961142841646364930650685182742924915750807604716554873289903140679626277521098230185009804867680417112703692827704555699254104725325529600239674161517613007576995239414709209627297796525283812895292399842146646970063628087185984737643242596375377861487149180417794388256454962961267267631703413998923868380017499339163832550419738743376404644230963416377342999964027953477812315036938111361969193101105512224328065334872949851635350180008618980044269569620390894963960410593894526262897484805720049895205894083154511527464184151251802473020019379677783662140660911047529322875883638588769569619942051649`,
10431044
}

routes/home.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,11 @@ func home(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
122122
WHEN 'φ' THEN 22
123123
WHEN '𝑒' THEN 23
124124
WHEN 'τ' THEN 24
125-
WHEN 'arabic-to-roman' THEN 25
126-
WHEN 'brainfuck' THEN 26
127-
WHEN 'roman-to-arabic' THEN 27
128-
WHEN 'spelling-numbers' THEN 28
125+
WHEN 'λ' THEN 25
126+
WHEN 'arabic-to-roman' THEN 26
127+
WHEN 'brainfuck' THEN 27
128+
WHEN 'roman-to-arabic' THEN 28
129+
WHEN 'spelling-numbers' THEN 29
129130
END, row_number`,
130131
userID,
131132
)

routes/types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ A Partridge in a Pear Tree.</blockquote>`,
170170
}, {
171171
"𝑒", "𝑒", "Medium",
172172
"Print 𝑒 (Euler's number) to the first 1,000 decimal places.</p>",
173+
}, {
174+
"λ", "λ", "Medium",
175+
"Print λ (Conway's constant) to the first 1,000 decimal places.</p>",
173176
},
174177
}
175178

0 commit comments

Comments
 (0)