Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!think!ames!pasteur!agate!ucbvax!hplabs!hpda!hpcuhb!hpcilzb!tedj From: tedj@hpcilzb.HP.COM (Ted Johnson) Newsgroups: comp.lang.c Subject: algorithm to convert N into base 3 wanted! Message-ID: <650003@hpcilzb.HP.COM> Date: 23 Aug 88 02:06:30 GMT Organization: HP Design Tech Center - Santa Clara, CA Lines: 7 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