Tuesday, 5 February 2013

Pyramidal Numbers


Pyramidal Numbers:
A pyramidal number is a figurate number that represents a pyramid with a base and a given number of sides.
This term is most often used to refer to square pyramid numbers which has four sides but it can also be used to refer to:
1)Tringlular pyramidal numbers(three sides)
2)Square Pyramidal numbers(four sides)
3)Pentagonal Pyramidal numbers(five sides)
4)Hexagonal Pyramidal numbers(six sides)
5)Heptagonal Pyramidal numbers(seven sides)

1)Tringular pyramidal number:
=>It is known as tetrahedral pyramidal numbers.
First few tetrahedral numbers are:
1,4,10,20,35....
Formula to represent Tetrahedral numbers is:
=>Tn=n(n+1)(n+2)/6
It can also be given as:(n+2)C3











2)Square Pyrmidal number:
=>Square Pyramidal or simply pyramid number is a figurate number which represents number of stacked spheres in a pyramid wi square phase.
Few Square Pyramidal numbers are:
1,5,14,30,55........
Formula that represents Square Pyramidal numbers:
TΣK(where k is from 1 to n)

3)Pentagonal Pyramidal Numbers:
=>Is a figurate number which represents the number of objects in a pyramid with pentagonal base.
Few Pentagonal Pyramidal Numbers are:
1,6,18,40,75.........
formula: n2(n+1)/2

Sunday, 3 February 2013

Armstrong Number

Information: Armstrong number is the sum of cubes of all its digits taken separately.
Example:371, here cube of 3=27, cube of 7 is 343 and cube of 1 is 1.
So 27+343+1=>371.

Other 3 digit Armstrong numbers are:
153,370,371,407.

No two digit Armstrong numbers are available.
And 1 digit Armstrong numbers are 0 andd 1(obviously).

Sunday, 27 January 2013

Fermat's Little Theorem

History: On October 18, 1640, Fermat wrote a letter to Bernhard Frenicle de Bessy (1605–
1675), an official at the French mint who was a gifted student of number theory.
In his letter, Fermat communicated the following result(given as Theorem) Fermat did not provide a proof of this result but enclosed a note
promising that he would send along a proof, provided it was not too long. This theorem is known as Fermat's theorem.

Theorem: Let p be a prime and a any integer such that p and a are coprimes.
Then ap−1 ≡ 1 (mod p).

Information:
The first proof of Fermat's little theorem was given by Euler almost a century after Fermat's announcement. Leibniz had given same proof for Fermat's theorem almost 50 years prior to Euler but he didn't receive his share of credit.

=>This theorem can be used for questions like:
Q: Find the remainder when 241936 is divided by 17. 
Ans: Here as 24 ≡ 7 (mod 17)
Therefore 241936 ≡ 71936 (mod 17)

But by Fermat's little theorem, 716 ≡ 1 (mod 17). 
So,=7168121
71936 =716*121
            1121 ≡ 1 (mod 17)

Thus, remainder is 1. 




Saturday, 26 January 2013

Perfect Numbers

History:
The term was first coined by Pythagoreans. The greeks thought these numbers have mystical good powers and held them to be "good" numbers. Some biblical scholars considered 6 as a perfect number because they believed that the GOD created the world in six days and GOD's work must be perfect.

Definition:
A positive integer is a perfect number if the sum of its proper factors equals n.
First perfect number is 6 then 28 then 496........

Information:
Based on assumptions, Mathematicians of Middle Ages described:
1.There is a perfect number between any two consecutive powers of 10.
2.Perfect numbers end alternatively in 6 and 8.

Now first 6 perfect numbers are:
1.6
2.28
3.496
4.8128
5.33550336
6.8589869056

Which show both assumptions get wrong as there are no prime numbers of length of 5 digits and 5th and 6th prime numbers though end in 6 but not alternatively in 6 and 8.

For perfect numbers,
Euclid gave a formula for perfect numbers:

" If n is an integer >1 such that 2-1 is prime, then N=2n-1(2n-1) is a perfect number."


Which gives perfect numbers but there is a fact that no odd perfect numbers are found and there is no proof available stating that odd numbers can not be perfect.