Page 14 - Ramanujan Yatra
P. 14
Table 1: Prime numbers (p) up to 9th term
Term
1st
2nd
3rd
4th
5th
6th
7th
8th
9th
P
2
3
5
7
11
13
17
19
23
Before starting the game, generate seven consecutive prime numbers from 3rd to 9th term. The formula to generate seven prime numbers from 3rd to 9th term is given in equation (1).
tn= 3 * n − 5 + (n mod 2) 3 ≤ n ≤ 9 (1)
Where n is the term. Here, “mod” is a math operation that finds the remainder after dividing one number by another. Modulo is frequently abbreviated as mod or represented by the symbol %. As examples, generation of 9th and 6th term of prime numbers using equation (1) is demonstrated.
..
t9= 3 * 9 − 5 + (9 mod 2) = 27 − 5 + 1 = 23 . (9 mod 2) = 1
..
t6= 3 * 6 − 5 + (6 mod 2) = 18 − 5 + 0 = 13 . (6 mod 2) = 0
Similarly, 3rd to 9th term of prime numbers can be obtained. Now, play the prime number game as mentioned here.
There are seven circles in the given figure. Take seven prime numbers from 5 to 23. Put the prime numbers inside the circle in such a way that total number becomes 41 in each horizontal and diagonal rectangle block. Don’t consider any vertical block.
5
Ramanujan
YATRA