2 ms·
(Advent of Hackernews week 1) The Refined FizzBuzz
Hi everyone, i'll start weekly AoH (Advent of Hackernews), one problem weekly so that everyone could join and post concise solutions.
My problem this week:
Solve the fizzbuzz problem on fibonacci numbers.
Here's the output of first 30 numbers:
FizzBuzz
1
1
2
Fizz
Buzz
8
13
Fizz
34
Buzz
89
Fizz
233
377
Buzz
Fizz
1597
2584
4181
FizzBuzz
10946
17711
28657
Fizz
Buzz
121393
196418
Fizz
514229