Author |
Topic: Prime Time (Read 231 times) |
|
ThudnBlunder
wu::riddles Moderator Uberpuzzler
The dewdrop slides into the shining Sea
Gender:
Posts: 4489
|
For which positive integer values of n is n4 + 4n prime?
|
|
IP Logged |
THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
|
|
|
TenaliRaman
Uberpuzzler
I am no special. I am only passionately curious.
Gender:
Posts: 1001
|
|
Re: Prime Time
« Reply #1 on: Nov 29th, 2003, 6:38am » |
Quote Modify
|
(not a complete solution) :: obviously n cannot be even bcos for n even , the given expression is definitely composite. so we have to look at odds. note that for n odd, 4n has last digit as 4 now for n's ending with 1,3,7,9 the n4 ends with a 1, so the sum n4+4n has last digit as 5. The only part i cannot figure out so far is for n's ending with 5. But a few calculated values seem to show that for n's ending with 5, the expression is still composite. so most prolly the only solution is n=1. ::
|
|
IP Logged |
Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
|
|
|
rmsgrey
Uberpuzzler
Gender:
Posts: 2873
|
|
Re: Prime Time
« Reply #2 on: Nov 29th, 2003, 7:12am » |
Quote Modify
|
:: n4+4n=(n2+2n)2-n22n+1 For n odd, n22n+1 is square, so n4+4n is the difference of two squares, so composite, provided n2+2n>n*2(n+1)/2+1 which is certainly true for 2(n-1)/2>n or n>6 As TenaliRaman pointed out, even n give composite results, so we only need to inspect n=1,3 or 5 giving 5, 145 and 1649(=17*97) respectively. ::
|
|
IP Logged |
|
|
|
TenaliRaman
Uberpuzzler
I am no special. I am only passionately curious.
Gender:
Posts: 1001
|
|
Re: Prime Time
« Reply #3 on: Nov 29th, 2003, 7:39am » |
Quote Modify
|
pretty neat solution rmsgrey !!
|
|
IP Logged |
Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
|
|
|
|