From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?ISO-8859-1?Q?J=E9r=E9my_Korwin-Zmijowski?= Newsgroups: gmane.lisp.guile.user Subject: Re: I wrote a 3+1 guile program, feedback welcome Date: Thu, 08 Nov 2018 10:37:37 +0100 Message-ID: <177920A0-B748-44DA-870D-9812B9205C67@korwin-zmijowski.fr> References: <87efbwc43l.fsf@fastmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1541669782 21593 195.159.176.226 (8 Nov 2018 09:36:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 8 Nov 2018 09:36:22 +0000 (UTC) User-Agent: K-9 Mail for Android To: guile-user@gnu.org,Joshua Branson Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Nov 08 10:36:18 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gKgjZ-0005Tu-1z for guile-user@m.gmane.org; Thu, 08 Nov 2018 10:36:17 +0100 Original-Received: from localhost ([::1]:55384 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKglf-0006dC-4x for guile-user@m.gmane.org; Thu, 08 Nov 2018 04:38:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKgl8-0006WV-9R for guile-user@gnu.org; Thu, 08 Nov 2018 04:37:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKgl4-0004Vq-Sx for guile-user@gnu.org; Thu, 08 Nov 2018 04:37:54 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58325) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gKgl2-0004Qe-Qt for guile-user@gnu.org; Thu, 08 Nov 2018 04:37:50 -0500 X-Originating-IP: 37.168.92.200 Original-Received: from [100.89.39.194] (unknown [37.168.92.200]) (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 03C2360014; Thu, 8 Nov 2018 09:37:43 +0000 (UTC) In-Reply-To: <87efbwc43l.fsf@fastmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.195 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14971 Archived-At: Hey ! Sounds great I will look at it ! Cheers Le 7 novembre 2018 16:14:06 GMT+01:00, Joshua Branson a =C3=A9crit : > >Hello, > >I spent a week or two working on the 3+1 problem=2E The 3+1 problem is a >fun number theory conjecture=2E It states that there exists a procedure >for turning all positive whole integers into 1=2E The procedure is: > >If the number is even, then divide it by two=2E >If the number is odd, multiply by 3 and add 1=2E >repeat=2E > >I decided to write a program to graph the number of iterations it takes >for the set of numbers 2-n to reach 1=2E It uses ice-9 getopt-long, so >the usual --help and --version work=2E It uses gnuplot, because I >couldn't get guile-charting to work=2E If anyone has enough free time to >comment on the state of this program, or any tips about how to make it >better, etc=2E that would be most helpful=2E > >Thanks, > > >Joshua J=C3=A9r=C3=A9my