login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A254411 Limit of f(f(f(...f(0))...) modulo n as the number of iterations of f(x)=2^x+1 grows. 4

%I #19 Jul 13 2019 17:30:14

%S 0,1,0,1,3,3,2,1,0,3,9,9,6,9,3,1,3,9,0,13,9,9,7,9,18,19,0,9,20,3,9,1,

%T 9,3,23,9,32,19,6,33,34,9,40,9,18,7,35,33,23,43,3,45,42,27,53,9,0,49,

%U 32,33,54,9,9,1,58,9,44,37,30,23,30,9,2,69,18,57,9,45,65,33,0,75,25,9,3,83,78,9,68,63,58,53,9,35,38,33,71,23,9,93

%N Limit of f(f(f(...f(0))...) modulo n as the number of iterations of f(x)=2^x+1 grows.

%C Also, limit of f(f(f(...f(m))...) modulo n for any integer m>=0.

%H Rémy Sigrist, <a href="/A254411/b254411.txt">Table of n, a(n) for n = 1..10000</a>

%F a(n) = limit of A254429(m) mod n as m grows.

%F a(n) = A254429(A227944(n)+k) mod n for any k>=1. In particular, a(n) = A254429(n) mod n.

%o (PARI) { A254411(m) = my(g); if(m==1, return(0)); g=2^valuation(m,2); m\=g; lift( chinese(Mod(0,g),Mod(2,m)^A254411(eulerphi(m)) ) + 1) }

%Y Cf. A245970, A254410

%K nonn,easy,nice,look

%O 1,5

%A _Max Alekseyev_, Jan 30 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)