Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'interpreter': 0.05; 'output': 0.05; 'python3': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'shame': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:generation': 0.16; 'yet)': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'import': 0.22; 'header:User-Agent:1': 0.23; 'switched': 0.24; 'math': 0.24; "haven't": 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'received:132': 0.31; 'list': 0.37; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'called': 0.40; 'dave': 0.60; 'march': 0.61; 'more': 0.64; 'mar': 0.68; '2014,': 0.84; '2015': 0.84; 'angel': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Wolfgang Maier Subject: Re: Speeding up permutations generation Date: Fri, 06 Mar 2015 17:27:52 +0100 References: <201503060532.03842.gheskett@wdtv.com> <54F98DFA.4090503@davea.name> <201503061114.06957.gheskett@wdtv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: px1.ruf.uni-freiburg.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 In-Reply-To: <201503061114.06957.gheskett@wdtv.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1425659322 news.xs4all.nl 2856 [2001:888:2000:d::a6]:45616 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3388 X-Received-Body-CRC: 2896786551 Xref: csiph.com comp.lang.python:87036 On 03/06/2015 05:14 PM, Gene Heskett wrote: > > > On Friday 06 March 2015 06:22:34 Dave Angel wrote: >> >> 30414093201713378043612608166064768844377641568960512000000000000L > > What utility output that as an L ? > One called the python interactive interpreter used by many people on this list (though it is a shame they haven't switched to python3 yet) :) Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from math import factorial >>> factorial(50) 30414093201713378043612608166064768844377641568960512000000000000L Wolfgang