Wolfram Language (Mathematica), 43 bytes
<|#-1->"odd"?"even"[[(-1)^#]]&~Array~5*^9|>
Try it online! Try it online! with a smaller upper bound of 5*^3
-4 bytes returning a symbol: remove the "s.
Evaluates to a function (Association) that returns a string"even" or "odd", or Missing ["KeyAbsent", i] if the corresponding segment is not included. Its 106388888892-character string representation can be split into:
- A header
<|, - 4294967296 segments of the form
ni -> "odd"|"even",, - and a 15158203136-character footer that begins
4294967296 -> "even",and ends4999999999 -> "odd"|>.
Wolfram Language (Mathematica), 43 bytes
<|#-1->"odd"?"even"[[(-1)^#]]&~Array~5*^9|>
Try it online! with a smaller upper bound of 5*^3
-4 bytes returning a symbol: remove the "s.
Evaluates to a function (Association) that returns a string. Its string representation can be split into:
- A header
<|, - 4294967296 segments of the form
n -> "odd"|"even",, - and a 15158203136-character footer that begins
4294967296 -> "even",and ends4999999999 -> "odd"|>.
Wolfram Language (Mathematica), 43 bytes
<|#-1->"odd"?"even"[[(-1)^#]]&~Array~5*^9|>
Try it online! with a smaller upper bound of 5*^3
-4 bytes returning a symbol: remove the "s.
Evaluates to a function (Association) that returns a string"even" or "odd", or Missing ["KeyAbsent", i] if the corresponding segment is not included. Its 106388888892-character string representation can be split into:
- A header
<|, - 4294967296 segments of the form
i -> "odd"|"even",, - and a 15158203136-character footer that begins
4294967296 -> "even",and ends4999999999 -> "odd"|>.
Wolfram Language (Mathematica), 43 bytes
<|#-1->"odd"?"even"[[(-1)^#]]&~Array~5*^9|>
Try it online! with a smaller upper bound of 5*^3
-4 bytes returning a symbol: remove the "s.
Evaluates to a function (Association) that returns a string. Its string representation can be split into:
- A header
<|, - 4294967296 segments of the form
n -> "odd"|"even",, - and a 15158203136-character footer that begins
4294967296 -> "even",and ends4999999999 -> "odd"|>.