turn oeis to an object of link and name
This commit is contained in:
parent
af86154678
commit
c5d181598b
1 changed files with 16 additions and 8 deletions
|
@ -134,15 +134,19 @@ const get_const = (letters = Array) => {
|
||||||
case "q":
|
case "q":
|
||||||
const_data.push(0.28878809508660242127 ** position); // فلاجوليت وريتشموند
|
const_data.push(0.28878809508660242127 ** position); // فلاجوليت وريتشموند
|
||||||
const_infos[letter] = {
|
const_infos[letter] = {
|
||||||
"oeis": "https://oeis.org/A048651",
|
"oeis": {
|
||||||
"name": "Decimal expansion of Product {k >= 1} (1 - 1/2^k)."
|
"link": "https://oeis.org/A048651",
|
||||||
|
"name": "Decimal expansion of Product {k >= 1} (1 - 1/2^k)."
|
||||||
|
}
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case "r":
|
case "r":
|
||||||
const_data.push(1.75793275661800453270 ** position);
|
const_data.push(1.75793275661800453270 ** position);
|
||||||
const_infos[letter] = {
|
const_infos[letter] = {
|
||||||
"oeis": "https://oeis.org/A072449",
|
"oeis": {
|
||||||
"name": "Kasner number"
|
"link": "https://oeis.org/A072449",
|
||||||
|
"name": "Kasner number"
|
||||||
|
}
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case "s":
|
case "s":
|
||||||
|
@ -154,8 +158,10 @@ const get_const = (letters = Array) => {
|
||||||
case "t":
|
case "t":
|
||||||
const_data.push(1.92756197548292530426 ** position);
|
const_data.push(1.92756197548292530426 ** position);
|
||||||
const_infos[letter] = {
|
const_infos[letter] = {
|
||||||
"oeis": "https://oeis.org/A086088",
|
"oeis": {
|
||||||
"name": "Decimal expansion of the limit of the ratio of consecutive terms in the tetranacci sequence"
|
"link": "https://oeis.org/A086088",
|
||||||
|
"name": "Decimal expansion of the limit of the ratio of consecutive terms in the tetranacci sequence"
|
||||||
|
}
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
case "u":
|
case "u":
|
||||||
|
@ -174,8 +180,10 @@ const get_const = (letters = Array) => {
|
||||||
const_data.push(2.09455148154232659148 ** position);
|
const_data.push(2.09455148154232659148 ** position);
|
||||||
const_infos[letter] = {
|
const_infos[letter] = {
|
||||||
"wikipedia": "https://en.wikipedia.org/wiki/John_Wallis#Contributions_to_mathematics",
|
"wikipedia": "https://en.wikipedia.org/wiki/John_Wallis#Contributions_to_mathematics",
|
||||||
"oeis": "https://oeis.org/A007493",
|
"oeis": {
|
||||||
"name": "Decimal expansion of Wallis' number, the real root of x^3 - 2*x - 5"
|
"link": "https://oeis.org/A007493",
|
||||||
|
"name": "Decimal expansion of Wallis' number, the real root of x^3 - 2*x - 5"
|
||||||
|
}
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
/* case "x":
|
/* case "x":
|
||||||
|
|
Loading…
Reference in a new issue