Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!think!ames!pasteur!ucbvax!hplabs!hpda!hpcuhb!hpcilzb!tedj From: tedj@hpcilzb.HP.COM (Ted Johnson) Newsgroups: comp.sys.mac.programmer Subject: base 10 --> base 3 ... Message-ID: <730059@hpcilzb.HP.COM> Date: 23 Aug 88 02:12:23 GMT Organization: HP Design Tech Center - Santa Clara, CA Lines: 11 This isn't really a Mac-specific question, but it *is* for a program that I'm writing for Macintoshes... Does anyone know of an algorithm to convert a positive integer N into its base 3 representation? (e.g., 14 in base 10 is 112 in base 3). Any textbook/journal pointers are appreciated! (Source code is appreciated even more :-) -Ted