5 kyu

[BF] N-th Fibonacci Number

Description:

Task

Write a program in BrainFuck to find the N-th Fibonacci number from the sequence 1, 1, 2, 3, 5, 8, ...

Input:

Integer N, as charcode from 1 to 100. (1 <= N <= 100)

Output:

N-th Fibonacci number as string

Example:

Input: charcode 8

Output: 21

Hint: 100th Fibonacci Number has 21 digits.

Fundamentals
Algorithms

More By Author:

Check out these other kata created by iNont

Stats:

CreatedFeb 6, 2018
PublishedFeb 6, 2018
Warriors Trained194
Total Skips26
Total Code Submissions45
Total Times Completed19
BF Completions19
Total Stars3
% of votes with a positive feedback rating94% of 9
Total "Very Satisfied" Votes8
Total "Somewhat Satisfied" Votes1
Total "Not Satisfied" Votes0
Total Rank Assessments3
Average Assessed Rank
5 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
6 kyu
Ad
Contributors
  • iNont Avatar
  • Voile Avatar
Ad