Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

dividing numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg53943] dividing numbers
  • From: fartous at mail15.com
  • Date: Fri, 4 Feb 2005 04:12:40 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi
i have a small question
we know how to divide numbers using the elementary school Long procedure, suppose 
mathematica is a small child and i want him to show me his procedure step by step 
such as this:
input:  20839 ,  9
output:
1-  2/9 ->0   mod=2
2- 20/9 ->2   mod=2
3- 28/9 ->3   mod=1
4- 13/9 ->1   mod=4
5- 49/9 ->5   mod=4
so the final result will be 2315+(4/9)
how to implement this in mathematica
jack


  • Prev by Date: Re: Area Under Curve (Min Length Interval)
  • Next by Date: Re: Product {for p=2 to infinity} (p^2+1)/(p^2-1)
  • Previous by thread: Re: Product {for p=2 to infinity} (p^2+1)/(p^2-1)
  • Next by thread: Re: dividing numbers