login
Sequence of integers defined by 3-expansion of Pi-3.
1

%I #19 Oct 29 2023 09:47:30

%S 5,9,19,37,73,147,293,585,1169,2337,4675,9351,18703,37407,74815,

%T 149631,299261,598523,1197047,2394093,4788187,9576373,19152747,

%U 38305493,76610987,153221973,306443945,612887889,1225775779,2451551557,4903103113,9806206225,19612412451,39224824901,78449649801

%N Sequence of integers defined by 3-expansion of Pi-3.

%H Julien Leroy, Michel Rigo, and Manon Stipulanti, <a href="https://doi.org/10.37236/6581">Behavior of Digital Sequences Through Exotic Numeration Systems</a>, Electronic Journal of Combinatorics 24(1) (2017), #P1.44. See Example 19.

%F a(n) = 2^(n+1) + 2*floor((Pi-3)*2^n) + 1. - _Michel Marcus_, Oct 29 2023

%o (PARI) a(n) = 2^(n+1) + 2*floor((Pi-3)*2^n) + 1; \\ _Michel Marcus_, Oct 29 2023

%Y Cf. A000796, A004601, A282729.

%K nonn

%O 1,1

%A _N. J. A. Sloane_, Mar 03 2017

%E More terms from _Michel Marcus_, Oct 29 2023