|
-
Dec 7th, 2002, 10:38 PM
#1
Thread Starter
Addicted Member
Fun Functions!
A polynomial f(x)=y with integer coefficients passes through points (3, 9) and (8, k). Find the largest possible value of k if k<9.
-
Dec 8th, 2002, 04:48 AM
#2
transcendental analytic
humm, i don't think there is a largest possible value
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 8th, 2002, 09:34 AM
#3
Fanatic Member
if k<9 there is probably a largest value, and its probably 4
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Dec 8th, 2002, 11:27 AM
#4
transcendental analytic
yeah, i think i misread it :S
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 8th, 2002, 08:10 PM
#5
Fanatic Member
i am just speculating about (8,4) what do you think kedaman
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Dec 8th, 2002, 08:46 PM
#6
Addicted Member
(k-9)/(8-3) = (k-9)/5
To be integer k is 4. Hehe , assume its linear, I miscalculated on the contest.
YL says:"Few are those who see with their own eyes and feel with their own hearts."(Einstein)
-
Dec 13th, 2002, 05:17 PM
#7
Thread Starter
Addicted Member
Don't listen to Sprite and assume it's linear; there's actually a way to do the question and get 4.
-
Dec 13th, 2002, 07:38 PM
#8
transcendental analytic
there's probably something terribly wrong with my proof trough induction, that theres no integer constants a0 to an that gives a k between 9 and 4, but i could be wrong as well 
p(n):
9 = a0 + a1*3^1 + .. + an*3^n
4 < a0 + a1*8^1 + .. + an*8^n
9 > a0 + a1*8^1 + .. + an*8^n
prove p(1) is false:
9 = a0 + a1*3
4 < a0 + a1*8
9 > a0 + a1*8
4 < 9-a1*3 + a1*8
9 > 9-a1*3 + a1*8
4-9 < a1*5
9-9 > a1*5
-1 < a1
0 > a1
there's no integer a1 between 0 and -1.
prove p(n)=>p(n+1) is false:
9 = a0*3^0 + a1*3^1 + .. + an*3^n + a(n+1)*3^(n+1)
4 < a0*8^0 + a1*8^1 + .. + an*8^n + a(n+1)*8^(n+1)
9 > a0*8^0 + a1*8^1 + .. + an*8^n + a(n+1)*8^(n+1)
9- a(n+1)*3^(n+1) = a0*3^0 + a1*3^1 + .. + an*3^n
4- a(n+1)*8^(n+1) < a0*8^0 + a1*8^1 + .. + an*8^n
9- a(n+1)*8^(n+1) > a0*8^0 + a1*8^1 + .. + an*8^n
- a(n+1)*3^(n+1) = - 9 + a0*3^0 + a1*3^1 + .. + an*3^n
- a(n+1) = (- 9 + a0*3^0 + a1*3^1 + .. + an*3^n )/3^(n+1)
4 + (- 9 + a0*3^0 + a1*3^1 + .. + an*3^n )(8/3)^(n+1) < a0*8^0 + a1*8^1 + .. + an*8^n
9 + (- 9 + a0*3^0 + a1*3^1 + .. + an*3^n )(8/3)^(n+1) > a0*8^0 + a1*8^1 + .. + an*8^n
and the assumption p(n) could be written as
4 < 4 + (- 9 + a0*3^0 + a1*3^1 + .. + an*3^n )(8/3)^(n+1) < a0*8^0 + a1*8^1 + .. + an*8^n
9 > 9 + (- 9 + a0*3^0 + a1*3^1 + .. + an*3^n )(8/3)^(n+1) > a0*8^0 + a1*8^1 + .. + an*8^n
0<(- 9 + a0*3^0 + a1*3^1 + .. + an*3^n )(8/3)^(n+1)<0, obviously not true
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 13th, 2002, 08:05 PM
#9
Fanatic Member
ok let a general function with integer coeeficients:
f(x)=a0x^n+a1x^(n-1)+...+an
f(3)=a0*3^n+a1*3^(n-1)+...+an
f(8)=a0*8^n+a1*3^(n-1)+...+an
notice that 8^k-3^k is divisible by 5 (hint mod 5) so f(8)-f(3) is divisible by 5. go from there
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Dec 13th, 2002, 09:43 PM
#10
Thread Starter
Addicted Member
Induction...interesting...but why would you try to prove that it can't be less than 4 or greater than 9, unless you were fairly sure that it would work already, which, on a 30-minute math contest you wouldn't be?
-
Dec 13th, 2002, 10:22 PM
#11
transcendental analytic
it wouldn't have to be 4, its just that 4 and 9 gave these
4-9 < a1*5
9-9 > a1*5
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Dec 13th, 2002, 11:27 PM
#12
transcendental analytic
Originally posted by bugzpodder
notice that 8^k-3^k is divisible by 5 (hint mod 5) so f(8)-f(3) is divisible by 5. go from there [/B]
aah, took me a while to get what you were on, if the terms in the polynom are divisible with 5 then it wouldn't be possible to have k less than 5 from 9
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|