Showing posts with label mathematica. Show all posts
Showing posts with label mathematica. Show all posts

Monday, March 17, 2014

MATHEMATICA 11 AQUARIUS


In Astrology, Aquarius is the 11th astrological sign of the Zodiac.


From http://en.wikipedia.org/wiki/11_(number)

An easy way of multiplying numbers by 11 in base 10 is: If the number has: 
1 digit - Replicate the digit (so 2 x 11 becomes 22). 
2 digits - Add the 2 digits together and place the result in the middle (so 47 x 11 becomes 4 (11) 7 or 4 (10+1) 7 or (4+1) 1 7 or 517). 
3 digits - Keep the first digit in its place for the result's first digit, add the first and second digits together to form the result's second digit, add the second and third digits together to form the result's third digit, and keep the third digit as the result's fourth digit. For any resulting numbers greater than 9, carry the 1 to the left. Example 1: 123 x 11 becomes 1 (1+2) (2+3) 3 or 1353. Example 2: 481 x 11 becomes 4 (4+8) (8+1) 1 or 4 (10+2) 9 1 or (4+1) 2 9 1 or 5291. 
4 or more digits - Follow the same pattern as for 3 digits.



MATHEMATICA 37 LUKE





Take any one digit number: 6
Make it into a three digit number: 666
Get the sum of those three digits: 18
Divide 666 by 18 = 37

111 digits add to 3 111/3 = 37
222 digits add to 6 222/6 = 37
333 digits add to 9 333/9 = 37
etc....



37 = 1 + 2 + 3 + 4 + 5 + 6 + 7 + 9 = 37. Note that 12345679 * 3 = 37037037.

37 * 03 = 111
   * 06 = 222
   * 09 = 333
   * 12 = 444
   * 15 = 555
   * 18 = 666
   * 21 = 777
   * 24 = 888
   * 27 = 999.

All three-digit repdigits are divisible by 37.

The sum of the first 37 primes is a Fibonacci number.

If a multidigit number (4 or more digits) is taken in groups of three (from the least significant group) and these are summed (repeatedly, if necessary) to produce a three-digit number which is divisible by 37, then the original number is also divisible by 37.

In the movie "Cool Hand Luke" Paul Newman's inmate number on his prison uniform is 37.


3 x 37 = 111 and 1 + 1 + 1 = 3
6 x 37 = 222 and 2 + 2 + 2 = 6
9 x 37 = 333 and 3 + 3 + 3 = 9
12 x 37 = 444 and 4 + 4 + 4 = 12
15 x 37 = 555 and 5 + 5 + 5 = 15
18 x 37 = 666 and 6 + 6 + 6 = 18
21 x 37 = 777 and 7 + 7 + 7 = 21
24 x 37 = 888 and 8 + 8 + 8 = 24
27 x 37 = 999 and 9 + 9 + 9 = 27


A Street magic stunt: Quick think of a number
Street magicians like David Blaine often use this psychological trick. Ask your friend to quickly think of a two-digit number between 1 and 100, both digits odd and both digits different from each other. Concentrate, the answer is ... 37! 
Magic: the statistical "37" number force trick 
First up, this trick doesn't always work! Of course in the TV shows they only show the time it did work! It's based on probability and a rather sneaky way of reducing your spectator's choice. If it goes wrong for you, Hey it's mind reading, it's supposed to be hard. You were just not tuned in properly. 
How does it work? 
You start with saying they can choose any two-digit number between 1 and 100 (they will remember you giving them that 1-100 choice. It's called the primacy effect in memory: you tend to remember the things at the start better). Two digits means 1-9 are eliminated instantly. 
You then go on to say both digits must be odd, so that halves the possible numbers too: all the even ones. Next, you say both digits must be different. This narrows it down even more. There are in fact very few numbers left that the spectator can choose from (though they don't tend to notice this). 
This is where the psychology and statistics comes in. When asked to give the number quickly the vast majority of people will say 37. It may be that it's somewhere in the middle. 13 would be too small, 97 would be too big. It may be that the numbers 3 and 7, which themselves are the most common answers if you ask people to name a number between 1 and 10, just seem to come together. Whatever the reason there is an increased chance that you get the 37 you want. 
Psychology, bias and cognitive science 
This effect of most people choosing 37 is called a psychological bias. Another example would be to ask someone to quickly think of a colour. Most people answer RED... Or a vegetable - most say carrot. Understanding human psychology, such as the primacy effect in memory and psychological biases used in this trick, is a part of cognitive science. It is a fascinating new field where we try to understand the process of human thinking. COmputer Scientists then use the results to try, for example, to build easier to use software, or build artificial intelligences with human-like abilities. 
So the next time you think of 37, think of the cognitive science behind it, then choose the number 57 (or perhaps you did already!)

MATHEMATICA 9 SAGITTARIUS


source


Pick a number between one and 10.

Multiply it by nine.

Add the two digits of the resulting number together.

Now subtract five from that.

Take your number and match it up with a letter of the alphabet (so 1 would be A, 2 would be B, etc.).

Pick a country that begins with that letter.

Pick an animal whose name begins with the last letter of the country name.

Pick a fruit that begins with the last letter of the animal's name.

Denmark, kangaroo and orange

From Wikipedia: 9

In base 10 a positive number is divisible by nine if and only if its digital root is 9.[9] That is, if you multiply nine by any natural number, and repeatedly add the digits of the answer until it is just one digit, you will end up with nine: 
2 × 9 = 18 (1 + 8 = 9)
3 × 9 = 27 (2 + 7 = 9)
9 × 9 = 81 (8 + 1 = 9)
121 × 9 = 1089 (1 + 0 + 8 + 9 = 18; 1 + 8 = 9)
234 × 9 = 2106 (2 + 1 + 0 + 6 = 9)
578329 × 9 = 5204961 (5 + 2 + 0 + 4 + 9 + 6 + 1 = 27; 2 + 7 = 9)
482729235601 × 9 = 4344563120409 (4 + 3 + 4 + 4 + 5 + 6 + 3 + 1 + 2 + 0 + 4 + 0 + 9 = 45; 4 + 5 = 9) 
There are other interesting patterns involving multiples of nine: 
12345679 x 9 = 111111111
12345679 x 18 = 222222222
12345679 x 81 = 999999999 
The difference between a base-10 positive integer and the sum of its digits is a whole multiple of nine. Examples: 
The sum of the digits of 41 is 5, and 41-5 = 36. The digital root of 36 is 3+6 = 9, which, as explained above, demonstrates that it is divisible by nine. 
The sum of the digits of 35967930 is 3+5+9+6+7+9+3+0 = 42, and 35967930-42 = 35967888. The digital root of 35967888 is 3+5+9+6+7+8+8+8 = 54, 5+4 = 9. 
Subtracting two base-10 positive integers that are transpositions of each other yields a number that is a whole multiple of nine. Examples: 
41 - 14 = 27 (2 + 7 = 9)
36957930 - 35967930 = 990000, a multiple of nine. 
This works regardless of the number of digits that are transposed. For example, the largest transposition of 35967930 is 99765330 (all digits in descending order) and its smallest transposition is 03356799 (all digits in ascending order); subtracting pairs of these numbers produces: 
99765330 - 35967930 = 63797400; 6+3+7+9+7+4+0+0 = 36; 3+6 = 9.
99765330 - 03356799 = 96408531; 9+6+4+0+8+5+3+1 = 36; 3+6 = 9.
35967930 - 03356799 = 32611131; 3+2+6+1+1+1+3+1 = 18; 1+8 = 9. 
Casting out nines is a quick way of testing the calculations of sums, differences, products, and quotients of integers, known as long ago as the 12th Century 
If you divide a number by the amount of 9s corresponding to its number of digits, the number is turned into a repeating decimal. (e.g. 274/999 = 0.274274274274...)