diff options
author | Shantanu | 2009-11-04 09:40:28 +0530 |
---|---|---|
committer | Shantanu | 2009-11-04 09:40:28 +0530 |
commit | 0246e06a60ed5ffeab0fecf7657b82b1a044e6ed (patch) | |
tree | 7e09b2a5b84a76f62703809d81e137e16a0bbe60 /day2/session5.tex | |
parent | b29072301bebcdeee11e5dec132583961825aa15 (diff) | |
download | workshops-more-scipy-0246e06a60ed5ffeab0fecf7657b82b1a044e6ed.tar.gz workshops-more-scipy-0246e06a60ed5ffeab0fecf7657b82b1a044e6ed.tar.bz2 workshops-more-scipy-0246e06a60ed5ffeab0fecf7657b82b1a044e6ed.zip |
Changes made for Goa workshop .
Diffstat (limited to 'day2/session5.tex')
-rw-r--r-- | day2/session5.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/day2/session5.tex b/day2/session5.tex index 4fe9cd5..ddb1599 100644 --- a/day2/session5.tex +++ b/day2/session5.tex @@ -78,7 +78,7 @@ \author[FOSSEE] {FOSSEE} \institute[IIT Bombay] {Department of Aerospace Engineering\\IIT Bombay} -\date[] {1, November 2009\\Day 2} +\date[] {1 November, 2009\\Day 2, Session 4} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\pgfdeclareimage[height=0.75cm]{iitmlogo}{iitmlogo} @@ -111,12 +111,13 @@ \end{frame} \begin{frame}{Problem 1.1} - The aliquot of a number is defined as: the sum of the \emph{proper} divisors of the number. For example, aliquot(12) = 1 + 2 + 3 + 4 + 6 = 16.\\ + The aliquot of a number is defined as: the sum of the \emph{proper} divisors of the number. \\For example: +\center{aliquot(12) = 1 + 2 + 3 + 4 + 6 = 16.}\\ Write a function that returns the aliquot number of a given number. \end{frame} \begin{frame}{Problem 1.2} - A pair of numbers (a, b) is said to be \alert{amicable} if the aliquot number of a is b and the aliquot number of b is a.\\ + Pair of numbers (a, b) is said to be \alert{amicable} if aliquot number of a is b and aliquot number of b is a.\\ Example: \texttt{220, 284}\\ Write a program that prints all four digit amicable pairs. |