Project Euler | INFJ Forum

Project Euler

Discussion in 'Science and Technology' started by Vex, Jun 9, 2011.

Share This Page

More threads by Vex
  1. Vex

    Vex Community Member

    Joined:
    Sep 26, 2008
    Threads:
    8
    Messages:
    129
    Likes Received:
    13
    Trophy Points:
    0
    MBTI:
    INFJ
    Enneagram:
    99999
    Anyone here doing Project Euler?



    In short it is a series of math problems that only can be solved with computers. The idea is to come up with an algorithm and with usually ten to twenty lines of code solve it.
    I've grinded about 10 problems today and it's really addictive...:p

    Here's the site:
    www.projecteuler.net
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    Siamese cat likes this.
  2. Faye

    Faye ^_^
    Retired Staff

    Joined:
    Mar 9, 2009
    Threads:
    313
    Messages:
    7,324
    Featured Threads:
    5
    Likes Received:
    4,951
    Trophy Points:
    892
    Gender:
    Female
    Location:
    Gridania
    MBTI:
    INFJ
    Enneagram:
    4w5
    This sounds like the opposite of fun for me.
     
  3. aerosol

    aerosol American trash

    Joined:
    Jan 16, 2011
    Threads:
    49
    Messages:
    1,206
    Likes Received:
    390
    Trophy Points:
    0
    MBTI:
    INFJ
    Enneagram:
    9w1
    ha, yeah, i have to agree with this.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. AhSver

    AhSver ASHVER
    Donor

    Joined:
    Sep 26, 2009
    Threads:
    22
    Messages:
    664
    Likes Received:
    125
    Trophy Points:
    0
    MBTI:
    INFP...
    Enneagram:
    the coolest one
    I am glad that you are enjoying this activity... I have to agree with the above posts, I would rather do something else, like explore Google Earth or read countless Wikipedia articles :)
    It's rather rare to see an INFJ so much into math. I think that's great for you, since you are able to approach such problems from a different perspective than purely logic but use your intuition and feeling as well. It's a gift!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. PeaceSeeker

    PeaceSeeker Community Member

    Joined:
    May 20, 2011
    Threads:
    0
    Messages:
    262
    Likes Received:
    52
    Trophy Points:
    0
    MBTI:
    INFJ
    Enneagram:
    Type 5
    function problem_one()
    x=0;

    for n=1:999
    if rem(n,3)==0
    x=x+n;
    elseif rem(n,5)==0
    x=x+n;
    end
    end
    disp(x);

    ------------------------

    That's my contribution :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    grt$5vb likes this.
  6. Siamese cat

    Siamese cat Madame Cat strikes again

    Joined:
    Jan 29, 2010
    Threads:
    33
    Messages:
    2,042
    Likes Received:
    507
    Trophy Points:
    672
    MBTI:
    INFJ
    Enneagram:
    5w4
    Oh, thank you very much for this, I can't wait to start. :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. OP
    Vex

    Vex Community Member

    Joined:
    Sep 26, 2008
    Threads:
    8
    Messages:
    129
    Likes Received:
    13
    Trophy Points:
    0
    MBTI:
    INFJ
    Enneagram:
    99999
    I think I'm rather strange INFJ since we usually gravitate towards liberal arts but I have to say that intuition is a rather helpful tool in physics which is my major.

    Here's my contribution for probl. one
    lista=[3,5]
    n=1
    m=0
    for i in range(999):
    for i in range(2):
    if n % lista == 0:
    m+=n

    break

    n+=1
    print m



    ---------------------------

    I've solved 15 problems so far but they're getting harder.....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Arsal

    Arsal Permanent Fixture

    Joined:
    Dec 31, 2010
    Threads:
    22
    Messages:
    946
    Likes Received:
    405
    Trophy Points:
    0
    MBTI:
    -
    Enneagram:
    -
    programming is mad fun yo.

    Thank you for the link! I might as well kill some time with this.
     
  9. roxtehproxy

    roxtehproxy Community Member

    Joined:
    Jul 23, 2011
    Threads:
    5
    Messages:
    146
    Likes Received:
    23
    Trophy Points:
    0
    MBTI:
    INTJ
    Enneagram:
    ?-sx3w4-?
    Hey, I'm on this site too. I've just made it to level 1 the other day. I think it helps us INFJ's develop our tertiary Ti quite nicely (as much as programming does). You have to remember not everything can be done by our Ni as this is a realm based purely on mathematics (despite syntax and language terminology), or at least, mostly is.

    Last question I solved was q22:

    import string
    names = []
    alph = ['a','b','c','d','e','f','g','h','i','j','k','l','m',
    'n','o','p','q','r','s','t','u','v','w','x','y','z']

    f = open('names.txt', 'r')
    for lines in f.readlines():
    names = lines.split(',')
    names.sort()

    nameval = 0
    nametot = 0
    namepop = names
    for name in namepop:
    for letter in range(2,len(name)):
    indexn = name[letter-1].lower()
    nameval += alph.index(indexn)+1
    nametot += nameval * (namepop.index(name)+1)
    nameval = 0
    print nametot

    edit: Damn post, why u no space??
     
  10. Lerxst

    Lerxst Well-known member

    Joined:
    Jul 3, 2010
    Threads:
    122
    Messages:
    2,380
    Likes Received:
    749
    Trophy Points:
    0
    MBTI:
    INFJ
    My programming skills stopped when my 3-2-1 Contact subscription ran out...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page