Last Digit of fibonacci number - MATLAB Cody - MATLAB Central

Problem 46090. Last Digit of fibonacci number

Difficulty:Rate
Given a number n, find last digit of nth Fibonacci number
For example, for n=35,
F(35) = 9227465
so, ans=5.

Solution Stats

29.21% Correct | 70.79% Incorrect
Last Solution submitted on Jul 26, 2024

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
3
5

Problem Recent Solvers26

Suggested Problems

More from this Author165

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page