This site is supported by donations to The OEIS Foundation.
Template:Sequence of the Day's terms or constant
From OeisWiki
The following documentation is located at Template:Sequence of the Day's terms or constant/doc. [<Edit> Template:Sequence of the Day's terms or constant/doc]
[⧼Purge⧽ Template:Sequence of the Day's terms or constant]
[⧼Purge⧽ Template:Sequence of the Day's terms or constant]
Use the {{Sequence of the Day's terms or constant}} (or {{SoD's t or c}}) OEIS Wiki utility template to format the presentation of either
- the sequence's terms, or
- the constant,
for past, current or future {{Sequence of the Day}}.
Note: for your convenience, the template converts hyphens "-" to minus signs "−" and then appends a 1 mu (mathematical unit) space before 0, 4, 6 or 9.
Contents
Usage
- {{Sequence of the Day's terms or constant}} (for default sequence terms)
or
- {{SoD's t or c}} (for default sequence terms)
or
- {{Sequence of the Day's terms or constant| {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, ...} }}
or
- {{SoD's t or c| {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, ...} }}
or
- {{SoD's t or c| {I, II, III, IV, V, VI, VII, VIII, IX, X, ...} |Roman}}
or
- {{Sequence of the Day's terms or constant| 0.12345678901234567890... }}
or
- {{SoD's t or c| 0.12345678901234567890... }}
Examples
Examples with sequences
Code Result {{Sequence of the Day's terms or constant}}
- {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ...}
{{SoD's t or c| {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, ...} }}
- {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, ...}
{{SoD's t or c| {{~(|{{op|-}}0, {{op|-}}1, {{op|-}}2, {{op|-}}3, {{op|-}}4, <!-- -->{{op|-}}5, {{op|-}}6, {{op|-}}7, {{op|-}}8, {{op|-}}9, ...|)~}} }}
- { − 0, − 1, − 2, − 3, − 4, − 5, − 6, − 7, − 8, − 9, ... }
{{SoD's t or c| {{~(|{{op|-}}4, {{op|-}}5, {{op|-}}6, {{op|-}}7, {{op|-}}8, ...|)~}} }}
- { − 4, − 5, − 6, − 7, − 8, ... }
{{SoD's t or c| {539633, 3 {{op|x}} 2{{^|88}} + 11{{^|88}}, ...} }}
- {539633, 3 × 2 88 + 11 88, ...}
{{SoD's t or c| {I, II, III, IV, V, VI, VII, VIII, IX, X, ...} |Roman}}
- {I, II, III, IV, V, VI, VII, VIII, IX, X, ...}
-
Examples with constants
Code Result {{SoD's t or c| 0.23571113171923293137414347... }}
- 0.23571113171923293137414347...
{{SoD's t or c| -4.23571113171923293137414347... }}
- − 4.23571113171923293137414347...
-
Test
The code (to make sure the margins above and below the sequence are the same)
A175607: Largest number {{math|''x''|tex = x|&}} such that the [[greatest prime factor]] of {{math|''x''{{^|2}} {{op|-}} 1|tex = x^2 - 1|&}} is the {{math|''n''|tex = n|&}}{{sup|th}} [[prime]]. : {{SoD's t or c| {3, 17, 161, 8749, 19601, 246401, 672281, ...} }} For any prime {{math|''p''|tex = p|&}}, there are...
yields
A175607: Largest numberx |
x 2 − 1 |
n |
- {3, 17, 161, 8749, 19601, 246401, 672281, ...}
p |
A202300: Decimal expansion of the real root of {{math|''x''{{^|3}} {{op|+}} 2{{sp|1}}''x''{{^|2}} {{op|+}} 10{{sp|1}}''x'' {{op|-}} 20|tex = x^3 + 2 x^2 + 10 x - 20|&}}. {{SoD's t or c| 1.36880810782137... }} Today, we could get a thousand digits of this number in any base we wanted just by pushing a few buttons.
yields
A202300: Decimal expansion of the real root ofx 3 + 2 x 2 + 10 x − 20 |
- 1.36880810782137...
Today, we could get a thousand digits of this number in any base we wanted just by pushing a few buttons.