Results 1 to 3 of 3

Math Help - Brute force failed on this one.. Could you please help?

  1. #1
    Newbie
    Joined
    Sep 2012
    From
    Czech Republic
    Posts
    2

    Brute force failed on this one.. Could you please help?

    Hi! I'd like to ask you for help on this one:

    "For which integer n is 2n^3 - 3n^2 + n + 3 a prime number?"

    Does anyone know? I have already tried the brute force method in c++ but no success .

    (Sorry if there are mistakes. I'm not a native speaker )
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    skeeter's Avatar
    Joined
    Jun 2008
    From
    North Texas
    Posts
    11,621
    Thanks
    426

    Re: Brute force failed on this one.. Could you please help?

    Quote Originally Posted by jbayram View Post
    Hi! I'd like to ask you for help on this one:

    "For which integer n is 2n^3 - 3n^2 + n + 3 a prime number?"

    Does anyone know? I have already tried the brute force method in c++ but no success .

    (Sorry if there are mistakes. I'm not a native speaker )
    how about the integer n = 0 ?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Sep 2012
    From
    Czech Republic
    Posts
    2

    Re: Brute force failed on this one.. Could you please help?

    Oh god. I'm so stupid. Thank you very very much. It's 11:48PM in my country. This is the last time I do my homework at night. I just forgot 3 is a prime number.. Have a nice day. Bye :-)
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. failed last year
    Posted in the Geometry Forum
    Replies: 4
    Last Post: November 24th 2010, 05:19 AM
  2. y=a^x, a<0. graphmatica failed!
    Posted in the Math Topics Forum
    Replies: 2
    Last Post: September 14th 2010, 03:17 AM
  3. Replies: 4
    Last Post: January 24th 2010, 02:23 PM
  4. ANOVA with failed cases
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: July 24th 2008, 07:41 AM
  5. failed exam on sampling..can you help?
    Posted in the Statistics Forum
    Replies: 2
    Last Post: June 25th 2008, 08:16 AM

Search Tags


/mathhelpforum @mathhelpforum