Warning: mysqli::__construct(): (HY000/2002): No connection could be made because the target machine actively refused it. in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (2002) No connection could be made because the target machine actively refused it.
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <633d1b7b$0$24807$426a74cc@news.free.fr>
Deutsch   English   Français   Italiano  
<633d1b7b$0$24807$426a74cc@news.free.fr>

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

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed3-b.proxad.net!nnrp5-1.free.fr!not-for-mail
Date: Wed, 5 Oct 2022 07:51:54 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101
 Thunderbird/102.3.1
Subject: Re: Suite logique
Content-Language: fr
Newsgroups: fr.sci.maths
References: <i9sELUrF0ppldVVnmbqOe0kFJ5M@jntp>
 <thctgi$1hsu$1@cabale.usenet-fr.net> <633d129e$0$31542$426a74cc@news.free.fr>
From: ast <ast@invalid>
In-Reply-To: <633d129e$0$31542$426a74cc@news.free.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 47
Message-ID: <633d1b7b$0$24807$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 05 Oct 2022 07:51:55 CEST
NNTP-Posting-Host: 91.170.32.5
X-Trace: 1664949115 news-1.free.fr 24807 91.170.32.5:3612
X-Complaints-To: abuse@proxad.net
Bytes: 1911

Le 05/10/2022 à 07:14, ast a écrit :
> Le 02/10/2022 à 22:49, Olivier Miakinen a écrit :
>> Le 02/10/2022 22:06, Julien Arlandis a écrit :
>>> Qui parviendra à trouver le sens de la suite logique suivante :
>>>
>>> 0, 1, 3, 2, 6, 7, 5, 4, 12, 13, 15, 14, 10, 11, 9, 8, 24, ...
>>
>> Oh, les suites logiques, on peut toujours y trouver Cinquante Nuances !
>>
> 
>  >>> for n in range(17):
>      m = n^(n>>1)
>      print(f"{m:2d} {m:05b}")
> 
> 
>   0 00000
>   1 00001
>   3 00011
>   2 00010
>   6 00110
>   7 00111
>   5 00101
>   4 00100
>  12 01100
>  13 01101
>  15 01111
>  14 01110
>  10 01010
>  11 01011
>   9 01001
>   8 01000
>  24 11000
> 

Est ce que quelqu'un pourrait me donner l'expression
de la fonction g qui fait passer d'un état au suivant ?

g(0)=1
g(1)=3
g(3)=2
g(2)=6
etc

si f:n --> n^(n>>1)

g(n) = f(f^(-1)(n)+1)