Math Lab
Home/Class VII/Ch 6/The Virahanka–Fibonacci sequence

The Virahanka–Fibonacci sequence

Long before Fibonacci wrote about it in Italy (12021202 CE), the Indian poet–mathematician Virahanka (6\sim 6th–88th century) had discovered the same sequence while counting metres in Sanskrit poetry.

Idea

Start with two 11s. Each next term is the sum of the previous two: 1,1,2,3,5,8,13,21,34,55,89,144,1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, \dots

The rule in symbols: F1=F2=1F_1 = F_2 = 1, and Fn=Fn1+Fn2F_n = F_{n-1} + F_{n-2} for n3n \geq 3.

A natural example: count the ways to climb a staircase taking 11 or 22 steps at a time. To reach step 11: only 11 way (11). To reach step 22: 22 ways (1+11+1 or 22). Step 33: 33 ways (1+1+11+1+1, 1+21+2, 2+12+1). Step 44: 55 ways. Continuing, you get 1,2,3,5,8,1, 2, 3, 5, 8, \dots , exactly Virahanka's sequence!

The sequence has many surprising properties:

  • The ratio Fn+1/FnF_{n+1}/F_n approaches the golden ratio φ1.618\varphi \approx 1.618.
  • Sums show pretty patterns: 1+1+2+3+5=12=131=F711 + 1 + 2 + 3 + 5 = 12 = 13 - 1 = F_7 - 1.
  • Flowers (sunflowers, daisies) often have a Virahanka number of petals.
  • Pine cones and pineapple spirals come in Virahanka counts.

The deeper lesson: a simple rule can generate a vast, structured, beautiful world.

Worked examples

Example 1. Write the next two terms after 1,1,2,3,5,81, 1, 2, 3, 5, 8.

Each is the sum of the previous two. 5+8=135 + 8 = 13, then 8+13=218 + 13 = 21. So the sequence continues 1,1,2,3,5,8,13,21,1, 1, 2, 3, 5, 8, 13, 21, \dots.

Example 2. In how many ways can a child climb a 55-step staircase taking 11 or 22 steps at a time?

The answer follows the Virahanka rule. F1=1,F2=2,F3=3,F4=5,F5=8F_1 = 1, F_2 = 2, F_3 = 3, F_4 = 5, F_5 = 8. So 88 ways.

Example 3. Compute F10F_{10}.

Continuing: F6=8,F7=13,F8=21,F9=34,F10=55F_6=8, F_7=13, F_8=21, F_9=34, F_{10}=55.

Example 4. Add the first 66 Virahanka numbers and compare with F81F_8 - 1.

1+1+2+3+5+8=201+1+2+3+5+8 = 20. And F8=21F_8 = 21, so F81=20F_8 - 1 = 20. ✓ (This is a general pattern: F1+F2++Fn=Fn+21F_1 + F_2 + \dots + F_n = F_{n+2} - 1.)

Try it yourself

  1. Continue the sequence to F12F_{12}.
  2. How many ways to climb 66 stairs taking 11 or 22 steps?
  3. Compute F3+F4+F5F_3 + F_4 + F_5 and check it equals F71F_7 - 1.
  4. Is 144144 a Virahanka number? Which position?
  5. Find F11/F10F_{11}/F_{10} as a decimal. How close to 1.6181.618?
  6. Adjacent Virahanka numbers , what is special about gcd(Fn,Fn+1)\gcd(F_n, F_{n+1})? Compute for n=5,6,7n=5,6,7.
  7. List Virahanka numbers less than 100100.
  8. Start with 2,52, 5 and apply the same rule. What sequence do you get?

Activity

Find a flower (sunflower, daisy, lily) and count its petals. Is the count a Virahanka number?

Draw squares of side 1,1,2,3,51, 1, 2, 3, 5 in a spiral pattern. Connect their corners with quarter-circles. You will have drawn a Fibonacci spiral , like the swirl of a galaxy or a sea-shell.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Virahanka–Fibonacci
5 questions · pick the best answer
Q1

F10F_{10} in the sequence 1,1,2,3,5,8,1,1,2,3,5,8,\dots is:

Q2

Ways to climb 66 stairs (11 or 22 at a time):

Q3

Is 144144 a Virahanka number?

Q4

F3+F4+F5F_3+F_4+F_5 equals:

Q5

Adjacent Virahanka numbers Fn,Fn+1F_n, F_{n+1} have gcd: