1)      Fibonacci numbers are the sequence1, 1, 2, 3, 5, 8, 13, 21, 34 … As you can (probably) see,each Fibonacci number is the sum of the previous two. CANDYnumbers, on the other hand, are the sum of the previous three.

a.       Find the 19th and119th CANDY numbers.

b.      Use “bar” to give abar plot of the first 10 CANDY numbers. Label your axes.

Plot the first 100 CANDY numbers on a logarithmic y-scale. Do younotice anything? What might it mean?

Source link

Leave a Reply

Your email address will not be published.