Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg53943] dividing numbers
  • From: fartous at
  • Date: Fri, 4 Feb 2005 04:12:40 -0500 (EST)
  • Sender: owner-wri-mathgroup at

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
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

  • 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