Results 1 to 8 of 8

Thread: logical proof problem

  1. #1

    Thread Starter
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294

    logical proof problem

    Hey all,,

    This is my first post in the math forum, and probably not my last.

    I am working on a discrete math structures assignment, and am having a little bit of a problem understanding some aspects of logical proofs. the methods we have covered are: induction, contradiction, indirect, and counter example.

    the question i am having trouble with is:
    prove:
    n^2 + 41n + 41 is prime for every int n.

    I know that it is true, but how the heck do i prove it?

  2. #2
    Registered User Lior's Avatar
    Join Date
    Jan 2000
    Posts
    307

    Wink It's just false.

    Originally posted by Kagey

    I know that it is true, but how the heck do i prove it?
    Well, I don't wanna let you down, but this "theorem" is just false!

    For N=4 the whole expression equals to 221 which is not prime!
    (221=17*13)

    That simple.

  3. #3
    Hyperactive Member DavidHooper's Avatar
    Join Date
    Apr 2001
    Posts
    357
    Lior speaks the truth.
    There are 10 types of people in the world - those that understand binary, and those that don't.

  4. #4
    Registered User Lior's Avatar
    Join Date
    Jan 2000
    Posts
    307
    Thanks David,

    By the way, when do you start your semester at Cambridge University ?

  5. #5
    Hyperactive Member DavidHooper's Avatar
    Join Date
    Apr 2001
    Posts
    357
    October 5th, for fresher's week. Can't wait!
    There are 10 types of people in the world - those that understand binary, and those that don't.

  6. #6
    Registered User Lior's Avatar
    Join Date
    Jan 2000
    Posts
    307
    I wish you luck.

    By the way, Kagey, If I'm not mistaken, the world hasn't found yet an expression which always generates a prime number.

  7. #7

    Thread Starter
    Hyperactive Member Kagey's Avatar
    Join Date
    Sep 2000
    Location
    The Wilderness of New Brunswick
    Posts
    294
    ok thanks guys, i also figured out that when n = 6 it doesnt work either. I think i should try the obvious from now on eh.

  8. #8
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking interesting...

    for some reason i recall a book saying it worked up to 39, but i must check it.

    The most obvious reason why it is wrong: use n = 41
    412 + 412 +41
    = 41(83) = not prime (easy to see 41 is a factor from above)
    sql_lall

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width