Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Number theory & 12024562121

Number theory & 12024562121

Scheduled Pinned Locked Moved The Lounge
questionloungecomdiscussion
46 Posts 17 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D David Wulff

    How about raw hex? 420665C20E480000 Or even base 5? 12045A2121 * * is that even remotely right? ________________ David Wulff http://www.davidwulff.co.uk "I loathe people who keep dogs. They are cowards who haven't got the guts to bite people themselves" - August Strindberg

    C Offline
    C Offline
    Chris Losinger
    wrote on last edited by
    #36

    nope. :) here it is in a variety of different bases: base: num 2: 1011001100101110000100000111001001 3: 1011001000100001020122 4: 23030232010013021 5: 144111241441441 6: 5305104033025 7: 603660043265 8: 131456040711 9: 34030301218 10: 12024562121 11: 5110608550 12: 23b7002775 13: 1198284620 14: 820db30a5 15: 4a59c334b 16: 2ccb841c9 17: 1c52e8f6a 18: 11b9bee0h 19: d8b4f36b 20: 97hda561 21: 6e44kcg5 22: 4i14ikdb 23: 3c55625h 24: 2em307lh 25: 1o67lo9l 26: 1co18hkd 27: 1410916h 28: oqj23j5 29: k6735g4 30: gep44hb 31: dh0aljl 32: b6bgge9 33: 9a8e5gb 34: 7qm5cbr 35: 6ix192q and here's the code to do it:

    char buf[40];
    for (int i=2;i<36;i++)
    {
    _i64toa((__int64)12024562121, buf, i);

      TRACE("%d: %s\\n", i, buf);
    

    }

    -c, geek


    Smaller Animals Software, Inc.

    1 Reply Last reply
    0
    • K Kastellanos Nikos

      You made me suspicious. My first guess was that the dot-product of a vector of value 12024562121 with the 11-dimension, is a point. ;P Let me redo my calculations and i will let you know the result. ;) Jorgen Sigvardsson wrote: Sidenote: If you wan't to make best friends with a functional programmer (Haskell junkie or the like), tell them that numbers are nothing more than named constant functions. You'll have a friend for life.. If someone believe that, then the universe is a computer, in which the numbers are evaluated each time we refer to them. Even if numbers were written as static functions, God is smart enough to pass the universe application through an opimizing compiler that turn them all into inline. :laugh: - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #37

      Kastellanos Nikos wrote: My first guess was that the dot-product of a vector of value 12024562121 with the 11-dimension, is a point. When you do, I guess I'll have to blow the dust off my algebra book. I'm not sure however if it contained n-dimensional stuff where n > 3. I remember calculating 3d planes and things like that. I can barely grasp n = 4 if you consider dimension 4 = time (an old physics brain damage). n > 4 gives me head aches. But hey, I'll give it a shot to try to understand your answer, I might just learn something new :) Kastellanos Nikos wrote: If someone believe that, then the universe is a computer, in which the numbers are evaluated each time we refer to them. I never claimed that FP-people were sane.. ;) Allthough, some of their ways of doing stuff is pretty clever.

      1 Reply Last reply
      0
      • P Paul Watson

        All I can say is "WOW". Do you guys actually think and understand things like that? I mean when you write down "n-tuple of values" are you just doing a bullshit salesman talk or is this matrix of n-dimensional* values spiralling in your head and you understand it like I understand the LOTR? Either way it all sounds impressive. * this is salesman talk as you can see, I have no clue what it means regards, Paul Watson Bluegrass Cape Town, South Africa Do you Sonork? I do! 100.9903 Stormfront "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge

        J Offline
        J Offline
        Jorgen Sigvardsson
        wrote on last edited by
        #38

        Paul Watson wrote: Do you guys actually think and understand things like that? I mean when you write down "n-tuple of values" are you just doing a bullshit salesman talk or is this matrix of n-dimensional* values spiralling in your head and you understand it like I understand the LOTR? I solemnly swear I'm not a salesman ;). My experience with sales personell has been less than perfect. If they're on the other side, they'll bullshit you. If they're on your side, they'll bullshit the customer, which in turn will generate more work for you. An n-tuple is basically an ordered collection of n values (may be homogenous or hetrogenous wrt type). Surely you must have heard of tuples before in the context of databases? A row is basically a tuple, and a table is a set of tuples.

        1 Reply Last reply
        0
        • Y Yuri Gershanov

          Nish [BusterBoy] wrote: Perhaps its a prime number. It's divisible by 11. Yuri

          R Offline
          R Offline
          Ravi Bhavnani
          wrote on last edited by
          #39

          And 13. /ravi "There is always one more bug..." ravib@ravib.com http://www.ravib.com

          N 1 Reply Last reply
          0
          • L Lee A

            Is there any number like that? The highest I ever heard of is 2^32:suss:

            R Offline
            R Offline
            Ravi Bhavnani
            wrote on last edited by
            #40

            Here's one higher: 2^32 + 1. :) /ravi "There is always one more bug..." ravib@ravib.com http://www.ravib.com

            C 1 Reply Last reply
            0
            • K Kastellanos Nikos

              You made me suspicious. My first guess was that the dot-product of a vector of value 12024562121 with the 11-dimension, is a point. ;P Let me redo my calculations and i will let you know the result. ;) Jorgen Sigvardsson wrote: Sidenote: If you wan't to make best friends with a functional programmer (Haskell junkie or the like), tell them that numbers are nothing more than named constant functions. You'll have a friend for life.. If someone believe that, then the universe is a computer, in which the numbers are evaluated each time we refer to them. Even if numbers were written as static functions, God is smart enough to pass the universe application through an opimizing compiler that turn them all into inline. :laugh: - - - - - - - - - - - - - - - - - - Memory leaks is the price we pay \0 01234567890123456789012345678901234

              C Offline
              C Offline
              ColinDavies
              wrote on last edited by
              #41

              Hey have you got a metric-tensor App, And if so what does it run on ? Regardz Colin J Davies

              Sonork ID 100.9197:Colin

              I live in Bob's HungOut now

              Colin is a big fan of William Goldberg and Frank Tipler and of course Billy Connerly

              1 Reply Last reply
              0
              • R Ravi Bhavnani

                Here's one higher: 2^32 + 1. :) /ravi "There is always one more bug..." ravib@ravib.com http://www.ravib.com

                C Offline
                C Offline
                ColinDavies
                wrote on last edited by
                #42

                Hey Ravi, Isn't there like an ultra big number in "Hindu" time status ? Or am i confussing myself here ? Regardz Colin J Davies

                Sonork ID 100.9197:Colin

                I live in Bob's HungOut now

                Colin is a big fan of William Goldberg and Frank Tipler and of course Billy Connerly

                R 1 Reply Last reply
                0
                • C ColinDavies

                  Hey Ravi, Isn't there like an ultra big number in "Hindu" time status ? Or am i confussing myself here ? Regardz Colin J Davies

                  Sonork ID 100.9197:Colin

                  I live in Bob's HungOut now

                  Colin is a big fan of William Goldberg and Frank Tipler and of course Billy Connerly

                  R Offline
                  R Offline
                  Ravi Bhavnani
                  wrote on last edited by
                  #43

                  Dunno. The only really big number I hear bandied about is the "google", which stands for a number "larger than infinity" (actually 10^100 - see http://watson-net.com/jargon/jargon.asp?w=google). /ravi "There is always one more bug..." ravib@ravib.com http://www.ravib.com

                  1 Reply Last reply
                  0
                  • Y Yuri Gershanov

                    Nish [BusterBoy] wrote: Perhaps its a prime number. It's divisible by 11. Yuri

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #44

                    Ouch!!! Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                    1 Reply Last reply
                    0
                    • R Ravi Bhavnani

                      And 13. /ravi "There is always one more bug..." ravib@ravib.com http://www.ravib.com

                      N Offline
                      N Offline
                      Nish Nishant
                      wrote on last edited by
                      #45

                      double ouch!!!!!!!!!! Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                      R 1 Reply Last reply
                      0
                      • N Nish Nishant

                        double ouch!!!!!!!!!! Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                        R Offline
                        R Offline
                        Ravi Bhavnani
                        wrote on last edited by
                        #46

                        More proof that I have *way* too much time on my hands. :) /ravi "There is always one more bug..." http://www.ravib.com ravib@ravib.com

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups