wu :: forums
« wu :: forums - Prime Time »

Welcome, Guest. Please Login or Register.
Nov 24th, 2024, 8:54pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   easy
(Moderators: Eigenray, Grimbal, ThudnBlunder, SMQ, Icarus, william wu, towr)
   Prime Time
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Prime Time  (Read 231 times)
ThudnBlunder
wu::riddles Moderator
Uberpuzzler
*****




The dewdrop slides into the shining Sea

   


Gender: male
Posts: 4489
Prime Time  
« on: Nov 29th, 2003, 4:17am »
Quote Quote Modify Modify

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: male
Posts: 1001
Re: Prime Time  
« Reply #1 on: Nov 29th, 2003, 6:38am »
Quote Quote Modify 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
*****





134688278 134688278   rmsgrey   rmsgrey


Gender: male
Posts: 2873
Re: Prime Time  
« Reply #2 on: Nov 29th, 2003, 7:12am »
Quote Quote Modify 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: male
Posts: 1001
Re: Prime Time  
« Reply #3 on: Nov 29th, 2003, 7:39am »
Quote Quote Modify Modify

pretty neat solution rmsgrey !!
IP Logged

Self discovery comes when a man measures himself against an obstacle - Antoine de Saint Exupery
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board