1.
All Permutations
|
All Permutations
Gives you all the possible combinations for a given set the values.
Eg:- Find the permutations for a,b,c,d then
Total number of permutations = 4! = 24
And all possible combinations are as follows...
1 = a b c d
2 = a b d c
3 = a c b d
4 = a c d b
5 = a d b c
6 = a d c b
7 = b a c d
8 = b a d c
9 = b c a d
10 = b c d a
11 = b d a c
12 = b d c a
13 = c a b d
14 = c a d b
15 = c b a d
16 = c b d a
17 = c d a b
18 = c d b a
19 = d a b c
20 = d a c b
21 = d b a c
22 = d b c a
23 = d c a b
24 = d c b a
|
|
2.
Magic Sqaure
|
Magic Square
means Sum of each Rows and each Columns and each Diagonal must be same
Sqaure Size: 5
Start With: 21
37 |
44 |
21 |
28 |
35 |
43 |
25 |
27 |
34 |
36 |
24 |
26 |
33 |
40 |
42 |
30 |
32 |
39 |
41 |
23 |
31 |
38 |
45 |
22 |
29 |
All numbers used in this Magic Square is between 21 and 45
Sum of each Row and each Column and each Diagonal : 165
|
|
|
3.
Circular Matrix
|
Circular Matrix
Gives you the circular matrix for specified number of rows
Eg:- number of rows = 5 then circular matrix is as follows...
1 |
2 |
3 |
4 |
5 |
16 |
17 |
18 |
19 |
6 |
15 |
24 |
25 |
20 |
7 |
14 |
23 |
22 |
21 |
8 |
13 |
12 |
11 |
10 |
9 |
|
|
4.
Factorial-Powers
|
1. X ! - Gives you Factorial for any number.
For Eg:- X = 5 then 5! = 120
2. X ^ Y - Gives you any powers for any number.
For Eg:- X = 5 and Y = 5 then 5^5 = 3125
3. ( X ! ) ^ Y - Gives you factorial-power for any number.
For Eg:- X = 5 and Y = 5 then (5!)^5 = (120)^5 = 24883200000
|
|
|
|
6.
Fibonacci Series
|
Fibonacci Series
Gives you the fibonacci series upto specified terms. Here each
term of fibonacci series is the addition of previous two terms.
Eg: find fibonacci series upto 15 terms then answer is
1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610
|
|
|
7.
Pascal Triangle
|
Pascal Triangle
Gives you pascal triangles value for specified number of rows
Eg:- number of rows = 10 then pascal triangle is as follows...
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
1 8 28 56 70 56 28 8 1
1 9 36 84 126 126 84 36 9 1
|
|
|
|
|
|
|