Deutsch   English   Français   Italiano  
<tvmmb7$c0q$1@cabale.usenet-fr.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!news.trigofacile.com!usenet-fr.net!.POSTED!not-for-mail
From: Olivier Miakinen <om+news@miakinen.net>
Newsgroups: fr.comp.lang.python
Subject: =?UTF-8?Q?Re:_D=c3=a9composition_d'un_nombre_en_facteurs_premiers.?=
Date: Sat, 25 Mar 2023 12:36:07 +0100
Organization: There's no cabale
Lines: 13
Message-ID: <tvmmb7$c0q$1@cabale.usenet-fr.net>
References: <tvmju0$259vr$1@dont-email.me>
 <641edb39$0$2992$426a74cc@news.free.fr>
NNTP-Posting-Host: 200.89.28.93.rev.sfr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Trace: cabale.usenet-fr.net 1679744167 12314 93.28.89.200 (25 Mar 2023 11:36:07 GMT)
X-Complaints-To: abuse@usenet-fr.net
NNTP-Posting-Date: Sat, 25 Mar 2023 11:36:07 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Firefox/52.0 SeaMonkey/2.49.4
In-Reply-To: <641edb39$0$2992$426a74cc@news.free.fr>
Bytes: 1529

Le 25/03/2023 12:28, michel@domain.invalid répondait à Dominique :
> 
> liste = [1]

Ah, tu n'as fait que recopier une erreur qui était déjà dans le programme
d'origine, mais je ne l'avais pas vue alors. Il faut partir d'une liste
vide et pas d'une liste comptant le nombre 1. En effet 1 ne fait pas partie
des nombres premiers, sinon cela rendrait faux le théorème fondamental de
l'arithmétique :
<https://fr.wikipedia.org/wiki/Th%C3%A9or%C3%A8me_fondamental_de_l'arithm%C3%A9tique>.

-- 
Olivier Miakinen