Results 1 to 3 of 3

Thread: factorial

  1. #1

    Thread Starter
    Fanatic Member bugzpodder's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    787

    factorial

    5/7=a2/2!+a3/3!+a4/4!+a5/5!+a6/6!+a7/7!

    given that 0<=ai<i
    find all the unknown terms. i could do this question using trial and error but it isn't very nice. any ingenious methods out 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)!

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

    Talking ok

    (2520*a2 + 840*a3 +210*a4 + 42*a5 + 7*a6 + a7) /7! =5/7 (put whole side over 7!)

    => (2520*a2 + 840*a3 +210*a4 + 42*a5 + 7*a6 + a7) = 5*7!/7

    =>(2520*a2 + 840*a3 +210*a4 + 42*a5 + 7*a6 + a7) = 3600

    and easy from there
    sql_lall

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    ai= i! 5/7 % i

    a2=1
    a3=1
    a4=1
    a5=0
    a6=4
    a7=2
    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
  •  



Click Here to Expand Forum to Full Width