Magic Squares

Pages: 1, 2
free web hosting
Open Discussion > Have your say > General Talk

Magic Squares

King-Squad
that last code makes no sense at all and i cant find any pattern in it however it does work very good job on finding somethin that works now if we could just find out the pattern u would b a millionaire! or mayb just a person that gets credit for a new code tongue.gif

Reply

trp
QUOTE(ashmaninc @ Jan 31 2005, 10:27 AM)
sounds like a test you have to do in GCSE maths to me.
*



Lol!! It's not...I found the pattern in this puzzle book thing, but the book I thought it was in wasn't...basically, I forget where I found it...but anyway, for my 101 x 101 magic square, I was working on it during math once (let me tell you, that's A LOT of graph paper...), and the teacher was talking about our cheat sheets that we could have for the test, and he said 1 page, but a normal sized page, not like mine...lol and I kept protesting that it wasn't a cheat sheet...stupid math teacher that has a sense of humor....

Reply

trp
QUOTE(King-Squad @ Jan 31 2005, 11:49 AM)
that last code makes no sense at all and i cant find any pattern in it however it does work very good job on finding somethin that works now if we could just find out the pattern u would b a millionaire! or mayb just a person that gets credit for a new code  tongue.gif
*



I've been trying lol, and I may be on the way to figuring it out, unfortunately I lost the 4 x 4 magic square my friend gave me (from this puzzle calendar thing), so now I'm just trying to recreate it...

Reply

cse-icons
hi,

The method u suggested does not work for 3x3 squares. and needs to be verified for others. Here is another way:

1. start from the middle of the top row.

_ 1 _
_ _ _
_ _ _

2. Go towards north-east of the square. If u cross a boudary jump to the other end.

_ 1 _
_ _ _
_ _ 2

3. Continue step 2.

_ 1 _
3 _ _
_ _ 2

4. If the process is blocked by an already filled square/ or there is no column/row to jump across , then place the no. just below the current one.

_ 1 _
3 _ _
4 _ 2

_ 1 _
3 5 _
4_ 2

_ 1 6
3 5 _
4 _ 2

_ 1 6
3 5 7
4 _ 2

8 1 6
3 5 7
4 _ 2

8 1 6
3 5 7
4 9 2

This magic square adds up to 15 in all directions. So there is a pattern after all.
If I remember this problem can be found in some books of computer science for design and analysis of algorithms. I remember studying it some time back.

I might not have been very clear, but this works for all squares of odd numbered boxes. Post ur queries in case of any clarifications.

Cheers.

 

 

 


Reply

shadow skazi
O_o

Reply

sirhenry
Ooh! I love magic squares! That's some zesty info you have there!

What fun.

Reply

spawn_syxx9
These come very much handy when you are taking precalculus and calculus for various reasons. I am not entirely sure why they work out that way, but they allow scientists to understand wavelengths and the like.

Reply

trp
QUOTE(spawn_syxx9 @ Feb 6 2005, 03:04 PM)
These come very much handy when you are taking precalculus and calculus for various reasons. I am not entirely sure why they work out that way, but they allow scientists to understand wavelengths and the like.
*



Really? That's cool...although I'm in precalc now, and we haven't used these at all. I dunno, maybe we will later this year (or maybe we did and I just completely missed it).

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. concentrate on the number and click on the magic square - 957.04 hr back. (1)
Similar Topics

Keywords : magic, squares

  1. Magic ! Is There Any Existance?
    (8)
  2. Question Regarding Magic_quotes And Addslashes()
    (2)
    my php configuration has magic_quotes_runtime set to off so, when i pull a string out of a mysql db,
    how come it shows up just fine without running it through addslashes()? when i run it through
    addslashes(), it adds slashes where its supposed to.... but when i don't use it it shows up just
    fine i am curious as to why i dont have to run addslashes() to make my text show up right can anyone
    answer my question?....
  3. Free Web Hosting: (magic) [approved]
    Free Website: <fpsaddicts.trap17.com> (1)
    To generate an application for free web hosting please click here: Free Web Hosting
    Request Form I would like to request free web hosting from Trap17. Please find my application
    below. Your Registered Domain Name or Desired Trap17 Subdomain Name: fpsaddicts.trap17.com
    Account Username: nayfoster Introduction: Hello, my name is nathan foster
    and im an apprentice electrician who likes to work on and with computers. In my spare time im a
    black belt kickboxer and a top notch computer gamer. Im into all sorts of sports ranging....
  4. A Poem About Magic
    (0)
    Through weavings of bramble and hedge, shaded from the blue and sun, play salamander, fairies, good
    and bad alike ( this,determined by interpreters of Dream); these are mossy, dust, limber - hidden.
    Their common element is fire, sparked by magic, glimmered flakes of mayfly wing, bubbling soup of
    phosphor. I am scion of a line of druid priests. We were angels once, beings of the golden chord,
    til, thrown to earth for drowning in the cup of pride. Some of us repented here. Others have
    mutated into demon skin. I am elven, airy brother to a scattered band of wanderers. ....
  5. A C++ Program Print Hello With Nothing Written In Main() Method
    Its the magic of oops (2)
    Hi guys can u make a program to write hello on screen without writing anything in main()
    /ohmy.gif" style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" /> u might be
    thinking hows that possible it is neccesary for every c/c++ program to start with main and execute
    statement written in main but here no statements in main how is it possible?,dont worry it is
    possible ill show u how: CODE #include<stdio.h> #include<iostream.h> class
    hello     {         int a;         public:              hello(){cout<<"hel....
  6. Heroes Of Might And Magic
    let's see your strategy (4)
    forum 'bout strategy and i dont see this game /mad.gif" style="vertical-align:middle"
    emoid=":angry:" border="0" alt="mad.gif" /> Short, brief or one liner is spam in our forum!
    Instead you could've contributed the first thread with quality and detail. ....
  7. Runescape Clan Wealthy Warriors
    70 + clan or 70 + range/magic (3)
    Hi i own a runescape clan called the wealthy warriors and we are a 70+ clan (with the exception of
    pures which have 70+ range or magic). We welcome anyone with level 70 combat or over to join, and
    will be doing events, such as: castle wars, dual arena, the fight pits, pking trips, and combat and
    non-combat training hours. We currently have two members beastjordan (75) beastflemo90 (88). Forum:
    http://s11.invisionfree.com/The_wealthy_warriors/index.php Consider Joining! thanks alot
    beastjordan (clan leader) quick find code on runescape forums: 44-45-685-33115299....
  8. Psychic And Magic Powers!
    (7)
    I heard a lot about people doing magic, and others doing psychic stuff. So I decided to know a
    little bit more about them. First we are all psychic, wich means everyone have psychic powers but to
    be able to use them you must develop them by using some techniques that helps the brain to
    concentrate. Some of my relatives are psychic, like my moms cousin had a dream before the
    assasination of our formal vice president, and in her dream she saw the assasination happening. And
    after couple of months the next thing I knew is that the assasination happened. Since then I started....
  9. Differences Of Squares
    (10)
    Hi guys , I just found out that the differences of squares form an arithmetic series with d = 2 ,
    but I can't figure out why : 3 5 7 9
    11 - notice the difference 1 4 9
    16 25 36 - the squares 1^1, 2^2, 3^3 ,
    4^4 , 5^5, 6^6....
  10. How To Quit From Tension?
    it is the magic formula to release tension. (9)
    I expeinced that this is the magic formula in worrying situation. 1- Ask yourself, what is the
    worst that can ossibly happen? 2- Prepare to accept it if you have to. 3- Then calmly proceed to
    impore on the worst.....
  11. Magic!
    Anyone here do magic? (6)
    Hey all I love magic and it's one of my favorite hobbies. If anyone does please tell me and
    recomend me some stuff and I'll recomend you some stuff too. Here's some bullets of
    recomendation. Ellusionist.com DVD's Not books DVD's they have a more thorough teaching
    style Google search stuff related to magic Hope that helps for any of you who like magic,
    Jaybird92185....
  12. Esigs-the Magic Sig Generator
    Random Sigs (3)
    Hey guys what do you think of my new sig generator This signature reveals out many things doesnt it?
    It reveals IP,OS amd Browser. Even you can use this I have made the complete design of the websites
    and it is no forum though it has a supportig one. The user can have his own text and will get
    the url as http://esigs.be/username.jpg My username is http://esigs.be/pulkit.jpg Also he can
    choose his own image from the 22 images Have a look at it : http://www.esigs.be There are 22
    user Random images are : ....
  13. Magic Taxi Emails
    A new idea for email accounts (3)
    I heard someone talking about Magic Taxi , which is an email service that provides the now standard
    2GB of space for free. The difference here is that 50% of the revenue generated by the site is
    passed onto a charity of your choice from the list shown here . The charities are all UK based
    charities, but you can join from anywhere in the world. Each email that you send or receive
    generates revenue for the site, which results in revenue for the charities. It may only be a small
    amount for each email, but most people send and receive many emails a day, and with lots of p....
  14. Generate From 0.50usd To 1000usd Or Higher!
    work like magic!!! (3)
    i have a best program here..but u must have e-gold account... just need only $0.50...you will
    get about $1000 or higher.. try look at this.. How to earn $1000 or more in a few days?
    It's easy !!! Step #1 Spend $0.50 from Your e-gold account to person of the
    1st position from the list below. After Your payment You will be redirected to registration page.
    Step #2 Fill the registration form with Your username and e-gold account number and press CONFIRM
    button. You will be added to the list on the 5th position and the users above will b....
  15. Magic Gmail To Gmail Drive (2691 Mb)
    Download Software n' guide (14)
    Fist, u Download it . 2. U install program gmailfsnew109 3. Login Alredy, u can store file .
    Good luck /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" />....
  16. Magic Match
    (1)
    QUOTE Magic Match Magic Match is a rich puzzle game with an enchanting fantasy theme.
    Explore six mystical realms in the Lands of the Arcane with Giggles your helper imp by your side.
    Earn magical bonus spells as you journey through 126 story levels in this wonderfully engrossing
    experience! Beautifully sung cut-scenes presenting a captivating story, over 22 power-ups and
    special features.     * Over 100 story mode levels with three difficulties     * Six magical realms
        * Exciting rewards including bonus rounds Download comment: for me, thats a g....
  17. Money Making With Submission Magic
    pays every sattelite dish sign up! (1)
    Does anyone know that this submission magic program works? Is it true that it provides money back
    guarantee if it doesn't make any money at all?....
  18. Wildmagic Software
    who know Wild Magic ???? (0)
    when i was looking for 3d tools , i found that there are a software named Wild magic , if you would
    see where i have found it take : Geometric , plz if you have a link to download it or any
    information just tell me , i'm waiting for any suggestion !....
  19. Does Anyone Play Magic?
    The card game? (2)
    Does anyone else play Magic? I recently participated in the 9th edition release tournament, and got
    into a 6way tie for 6th place. My favorite card that I drew first round.....Mortivore: 2 colorless,
    2 black. nice little creature, that has a power and toughness equal to the # of creature cards in
    all graveyards, with a 1 black regeneration cost /wink.gif' border='0'
    style='vertical-align:middle' alt='wink.gif' /> If anyone else plays, tell us about your fav cards,
    where you play, your decks, etc.......
  20. 3d 7 Ball
    7 balls have all the REAL magic (11)
    This turned out to be a lot simpler than I had originally imagined. I'm still not happy with
    the ball's shadow, though. Any thoughts?....
  21. Vmk
    Virtual Magic Kingdom (0)
    Virtual Magic Kingdom --------------------------------------- This is someting cool I found. You
    walk around Disney's Magic Kingdom. You play games and make your own room. You have to find
    hidden mickeys and at the same time you can chat to people. Now this is BETA mode. For all who
    don't know what this means it means it is still being made. When it is done it will be able to
    go to Tomorrowland and Frontierland (Which not yet in the game) and be able to ride all the rides.
    For right now you can only go on the Monorail. Also you find hidden mickeys in the sce....
  22. Macromedia Dreamweaver Mx 2004 Magic
    Really nice ebook (0)
    Here it is: CODE http://babyblue.thuthao.info/modules.php?name=News&file=article&sid=58 ....
  23. Magic Utilities 2004 3.10
    (2)
    Magic Utilities is a cute program designed to make your computer clean and more stable. These
    utilities include Uninstaller Plus, StartUp Organizer,and Process Killer. Magic Utilities enables
    you to easily and safely uninstall programs, inspect and manage the programs that automatically
    start when your turn on or logon to your computer, and lists and controls all currently running
    processes (system and hidden processes are also shown).With a cool and user-friendly interface,
    Magic Utilities makes it easy for anyone. — More user-friendly interface to list and uninstall pr....
  24. Anyone Plays Magic The Gathering?
    well do you? (3)
    does anyone play Magic the Gathering here? sometimes i think its cool, but i dont really play it
    that much... but i'm good doh /tongue.gif' border='0' style='vertical-align:middle'
    alt='tongue.gif' /> ....
  25. Magic 8 Ball
    Ask and you shall be answered :) (15)
    Sure, MAGIC 8 BALL works! /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
    alt="biggrin.gif" /> TRY IT! ....

    1. Looking for magic, squares

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for magic, squares

*MORE FROM TRAP17.COM*
advertisement



Magic Squares



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE