HaCkED By KaSpEr511

* +_+ KaSpEr Was Here +_+ *

 Contact O.K: UzI@Hotmail.Com  

 

 

General Spiral Numbers : MMM#37

July 22nd, 2009

Here is MMM#37 problem:


Based on the introduction to spiral numbers presented in MMM #36, solve one (or both) of these problems:

  1. Come up with an algorithm that tells what number is at an arbitrary X, Y coordinate.
  2. Come up with an algorithm that tells the X, Y coordinates for an arbitrary positive integer.

Solution (2nd problem):
We can easily check that the coordinate of are and respectively. Now if then for some . Now consider the following picture

Nested Square

We have proved earlier that the the number is on the bottom right corner of the square and its coordinate is . It follows that and the coordinate of is .

In summary for

The coordinate of is .

One can checks that the coordinate of and satisfy the above formula too for .

Equivalently if for we have that:

The coordinate of is

Note: if you want you can write the coordinate of completely as a function of . We have which is equivalent to . Therefore .

Categories: Math Monday Madness

Tags: , , , Leave a comment

Comments Feed1 Comment

  1. haniifa

    Salam.

    http://haniifa.wordpress.com/2009/08/07/asal-muasal-bilangan-biner-dari-nabi-ibrahim-a-s/

    #Haniifa.

Leave a comment

Feed

http://watchmath.com/vlog / General Spiral Numbers : MMM#37