---
title: "Decomposing a Rational Fraction into a 4-Level Continued Fraction"
organization: "NityaDhi Digital Mathematics Lab (Asa Edtech Private Limited)"
url: "https://www.nityadhi.com/problems/hard-c7-w1-10-continued-fraction-rational-equality"
board: "CBSE"
grade: "Class 7"
published_at: "2026-11-26T14:45:00+05:30"
---

# Decomposing a Rational Fraction into a 4-Level Continued Fraction

If $a, b, c,$ and $d$ are positive integers satisfying:

$$\frac{105}{37} = a + \cfrac{1}{b + \cfrac{1}{c + \cfrac{1}{d}}}$$

find the values of $a, b, c, d$ and compute $a + b + c + d$.

## Textbook Solution

1. **Separate the integer part of $\frac{105}{37}$:**
   $$105 = 2 \times 37 + 31 \implies \frac{105}{37} = 2 + \frac{31}{37}$$
   Since the fractional part of $a + \frac{1}{\dots}$ is strictly between $0$ and $1$, $a = 2$ and:
   $$b + \cfrac{1}{c + \cfrac{1}{d}} = \frac{37}{31}$$

2. **Repeat by separating the integer part of $\frac{37}{31}$:**
   $$37 = 1 \times 31 + 6 \implies \frac{37}{31} = 1 + \frac{6}{31}$$
   Thus $b = 1$, and:
   $$c + \frac{1}{d} = \frac{31}{6}$$

3. **Separate the integer part of $\frac{31}{6}$:**
   $$31 = 5 \times 6 + 1 \implies \frac{31}{6} = 5 + \frac{1}{6}$$
   Thus $c = 5$ and $d = 6$.

4. **Compute the sum:**
   $$a + b + c + d = 2 + 1 + 5 + 6 = 14$$

**Final Answer:** $a=2, b=1, c=5, d=6$, and $a+b+c+d = 14$.

## Vedic Shortcut

**NityaDhi *Bhagahara* (Euclidean Quotient-Chain) Shortcut:**

Just run successive long divisions (like finding HCF!) on $(105, 37)$ and read the quotients directly:
- $105 \div 37 \to$ quotient **$2$**, remainder $31$
- $37 \div 31 \to$ quotient **$1$**, remainder $6$
- $31 \div 6 \to$ quotient **$5$**, remainder $1$
- $6 \div 1 \to$ quotient **$6$**, remainder $0$

The quotients $(2, 1, 5, 6)$ ARE $(a, b, c, d)$, summing to $2 + 1 + 5 + 6 = 14$!

## Common Mistakes

- **Forgetting to invert the remainder fraction:** Writing $\frac{31}{37} = b + \dots$ instead of inverting $\frac{31}{37}$ to $\frac{37}{31}$.
- **Stopping one step early or splitting $d$:** Always check by rebuilding from the bottom: $5 + \frac{1}{6} = \frac{31}{6}$, $1 + \frac{6}{31} = \frac{37}{31}$, $2 + \frac{31}{37} = \frac{105}{37}$.