For a given index x, the x-th Fibonacci number, is defined as: for or 2, and for .
What this problem requires is find the digit , which is the n-th digit when the Fibonacci numbers are laid side by side.
For example, for , , and if , .
--------------------------------
NOTE: The following restrictions apply:
  • The function should only have one (1) line of code, excluding the function start line.
  • Semicolons (;) are considered end-of-line characters.
  • Please suppress the function end line. Keyword 'end' is not allowed.
  • Importing libraries is not allowed.
  • Regular expressions and string manipulation are not allowed.

Solution Stats

94 Solutions

1 Solvers

Last Solution submitted on Nov 15, 2025

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...