Sanskrit puzzle

65 views
Skip to first unread message

K.N.RAMESH

unread,
Jul 6, 2021, 12:04:04 PM7/6/21
to
प्रहेलिका।

कश्चन तडागः अस्ति। तडागस्य प्रत्येकं कोणे एकैकं मन्दिरम् अस्ति। अर्थात् चत्वारि मन्दिराणि सन्ति। 

कश्चन अर्चकः प्रतिदिनम् आगत्य चतुर्ष्वपि मन्दिरेषु पुष्पैः पूजां करोति।

सः अर्चकः कानिचन पुष्पाणि आनीय आदौ तडागे स्नानं करोति तदनन्तरं सः पूजां करोति। 
यदा सः पुष्पाणि प्रक्षालयितुं जले निमज्जयति तदा पुष्पाणि द्विगुणीभवन्ति।

तेभ्यः पुष्पेभ्यः कानिचन पुष्पाणि उपयुज्य प्रथमे मन्दिरे पूजां करोति। 
पुनश्च अवशिष्टानि पुष्पाणि जले निमज्जयति, तानि च पुष्पाणि पुनः द्विगुणीभवन्ति। 

पुनश्च सः द्वितीये मन्दिरे तेभ्यः पुष्पेभ्यः कानिचन पुष्पाणि उपयुज्य पूजां करोति। 

एवमेव सर्वेष्वपि मन्दिरेषु यदा सः पूजां समापयति तदा तस्य हस्ते एकमपि पुष्पम् अवशिष्टं न भवति। 

सर्वेष्वपि मन्दिरेषु सः समानरूपेण पुष्पाणि उपयुज्य पूजां करोति। 

इदानीं प्रश्नः अस्ति यत् सः कति पुष्पाणि आनयति? एकस्मिन् मन्दिरे च सः कति पुष्पाणि उपयुज्य पूजां करोति? 
*-प्रदीपः!*

Sriram Nagesh Nookala

unread,
Jul 7, 2021, 12:24:35 AM7/7/21
to sams...@googlegroups.com
सः पूजारी पञ्चदशपुष्पाणि आनीयतवान्.षोढश्पुष्पाणि उपयुज्य पूजां कृतवान् 

धन्यवादः
नागेशः

--
You received this message because you are subscribed to the Google Groups "samskrita" group.
To unsubscribe from this group and stop receiving emails from it, send an email to samskrita+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/samskrita/CAOSP8Jdih5j5M99X0%3D9YrRN5q5o15NQGKgFgYZnz-_UHF60GOw%40mail.gmail.com.

Mohan Chettoor

unread,
Jul 7, 2021, 11:29:16 AM7/7/21
to sams...@googlegroups.com
In the beginning he took 15 flowers with him. See below:
He took     15    14.    12.    8

Double       30    28.    24.  16

Gave          16.   16.    16.  16  

Balance     14.   12.      8.    0


If he takes 30 and gives 32 or any multiples of these then also the answer is correct.

प्रथम पूजा   अवशिष्टं  व्यत्यासः

  15.             16         1
  30.             32.        2
  45.             48.        3
  60.             64.        4
  75.             80.        5
  90.             96.        6
105.           112.       7
120.           128.       8
135.           144.       9
150.           160.      10

This pattern may be infinite... also the possibility of any different combination is to be explored.

कार्त्तिकेयः

unread,
Jul 8, 2021, 1:09:45 AM7/8/21
to samskrita
This answer is correct. However, let me make it a bit tougher. How do you solve it systematically (not using trial and error). There's a mathematical technique first described by Aryabhata, and simplified a bit by Bhaskaracharya, that can be used for this.

Sriram Nagesh Nookala

unread,
Jul 8, 2021, 11:13:35 AM7/8/21
to sams...@googlegroups.com
To systematically make it, let's start with :
Assume he bought X flowers. 
Assume he offered Y flowers.
Every time he dips them in the Water they double. So the equation will be to repeat (2X-Y) four times because he did it 4 times. The equation now becomes:
2(2(2(2X-Y) - Y) -Y) -Y) = 0
16X - 15Y = 0
So X = 15 (or multiple of 15s) and 
Y is 16 (or multiple of 16).

Now instead of 4 temples the number becomes N.. Then, it will be 2^N-1 & 2^N; 

धन्यवादः
नागेशः


कार्त्तिकेयः

unread,
Jul 8, 2021, 12:43:54 PM7/8/21
to samskrita

16x-15y = 0 has solutions x = k.15, y = k.16 for any integer k. There are no other solutions.

Now what if he has r flowers left over at the end?
16x - 15y = r

This can be rearranged as (15y + r)/16 = x

This is a case of an indeterminate equation (ay + r)/b = x  that can be solved by Aryabhata's कुट्टक

Using the कुट्टक  , we get the solutions as y = r + k.16 and x = r + k.15  for any integer k in this case (we're helped by the fact that b=a+1, so it simplifies a bit).

The general case is harder, but straightforward using कुट्टक.  ‌I'll describe Bhaskaracharya's simplified form:

भाज्यो हारः क्षेपकश्चापवर्त्यः केनाप्यादौ सम्भवे कुट्टकार्थम् ।

येनच्छिन्नौ भाज्यहारौ न तेन क्षेपश्चेत् तद्दुष्टमुद्दिष्टमेव ॥

First divide the dividend, divisor and remainder by their common factors. If both the dividend and divisor have a common factor that does not divide the remainder, then the equation cannot be solved

In (ax + r)/b=y, Bhaskaracharya calls a as the dividend, b as the divisor, and r as the remainder. What we see is that the common factor of a and b must divide r for this to have integral solutions (as is evident by inspection)

परस्परं भाजितयोः ययोर्यः शेषस्तयोस्स्यादपवर्तनं सः ।

तेनापवर्तेन विभाजितौ यौ तौ भाज्यहारौ दृढसंज्ञितौ स्तः ॥

Find the common factor of the dividend and divisor by repeated division, first of the dividend by divisor, then by the division of the divisor by the remainder received, and then of the remainder of that division by the previous divisor. Divide the dividend and divisor by the penultimate remainder before a zero is obtained. Such dividend and divisor are called “reduced”

This is the same as is taught in schools as “Euclid’s Algorithm”, to find the Greatest Common Divisor (GCD) - also called Highest Common Factor (HCF) - of two numbers. We find the GCD of a and b, and divide a, b, and r by that GCD. If it does not divide r, we stop here and declare that the equation has no solution. We call this the reduced form of the equation.


मिथो भजेत्तौ दृढभाज्यहारौ यावद्विभाज्ये भवतीह रूपम् ।

फलान्यधोऽधस्तदधो निवेश्यः क्षेपस्तथान्ते खमुपान्तिमेन ॥

स्वोर्ध्वे हतेऽन्त्येन युते तदन्त्यं त्यजेन्मुहुः स्यादिति राशियुग्मम् ।

ऊर्ध्वो विभाज्येन दृढेन तष्टः फलं गुणः स्यादधरो  हरेण ॥

एवं तदैवात्र यदा समास्ताः स्युर्लब्धयश्चेद्विषमास्तदानीम् ।

यथागतौ लब्धिगुणौ विशोध्यौ स्वतक्षणाच्छेषमितौ तु तौ स्तः ॥


Divide repeatedly the dividend and divisor, then the divisor of each division by the remainder of that until 1 is obtained as a remainder. Place the quotients of division in a column, write the remainder below, and zero below that. 

Reduce this column of numbers by the following process. Multiply the penultimate number by the one above it, add the last number, and place the result in place of the number above the penultimate number. Delete the last number. Repeat the process till two numbers remain.
Take the top number, abrade by the dividend (abrade = divide and take the remainder). This is the factor of the divisor. Take the number below, and abrade by the divisor. This is the factor of the dividend. 

If the number of quotients is odd, subtract the two results from their respective abraders.

इष्टाहतस्वस्वहरेण युक्ते ते वा भवेतां बहुधा गुणाप्ती ॥

By adding desired multiples of the respective abraders, any number of solutions may be generated

There are more simplifications, tricks, examples etc. in Līlāvatī
Reply all
Reply to author
Forward
0 new messages