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!)
A165355 a(n) = 3n + 1 if n is even, or a(n) = (3n + 1)/2 if n is odd. 14

%I #73 Jul 25 2021 10:51:41

%S 1,2,7,5,13,8,19,11,25,14,31,17,37,20,43,23,49,26,55,29,61,32,67,35,

%T 73,38,79,41,85,44,91,47,97,50,103,53,109,56,115,59,121,62,127,65,133,

%U 68,139,71,145,74,151,77,157,80,163,83,169,86,175,89,181,92,187,95,193,98

%N a(n) = 3n + 1 if n is even, or a(n) = (3n + 1)/2 if n is odd.

%C Second trisection of A026741.

%C A111329(n+1) = A000041(a(n)). - _Reinhard Zumkeller_, Nov 19 2009

%C We observe that this sequence is a particular case of sequence for which there exists q: a(n+3) = (a(n+2)*a(n+1)+q)/a(n) for every n >= n0. Here q=-9 and n0=0. - _Richard Choulet_, Mar 01 2010

%C The entries are also encountered via the bilinear transform approximation to the natural log (unit circle). Specifically, evaluating 2(z-1)/(z+1) at z = 2, 3, 4, ..., A165355 entries stem from the pair (sums) seen 2 ahead of each new successive prime. For clarity, the evaluation output is 2, 3, 1, 1, 6, 5, 4, 3, 10, 7, 3, 2, 14, 9, 8, 5, 18, 11, ..., where (1+1), (4+3), (3+2), (8+5), ... generate the A165355 entries (after the first). As an aside, the same mechanism links A165355 to A140777. - _Bill McEachen_, Jan 08 2015

%C As a follow-up to the previous comment, it appears that the numerators and denominators of 2(z-1)/(z+1) are respectively given by A145979 and A060819, but with different offsets. - _Michel Marcus_, Jan 14 2015

%C Odd parts of the terms give A067745. E.g.: 1, 2/2, 7, 5, 13, 8/8 .... - _Joe Slater_, Nov 30 2016

%H G. C. Greubel, <a href="/A165355/b165355.txt">Table of n, a(n) for n = 0..1000</a>

%H D. H. Lehmer, <a href="/A016825/a016825.pdf">Continued fractions containing arithmetic progressions</a>, Scripta Mathematica, 29 (1973): 17-24. [Annotated copy of offprint]

%H <a href="/index/Rec#order_04">Index entries for linear recurrences with constant coefficients</a>, signature (0,2,0,-1).

%F a(n) = A026741(3*n+1).

%F a(n)*A026741(n) = A005449(n).

%F a(n)*A022998(n+1) = A000567(n+1).

%F a(n) = A026741(n+1) + A022998(n).

%F a(2n) = A016921(n). a(2n+1) = A016789(n).

%F a(2n+1)*A026741(2n) = A045944(n).

%F G.f.: (1+2*x+5*x^2+x^3)/((x-1)^2 * (1+x)^2). - _R. J. Mathar_, Sep 26 2009

%F a(n) = (3+9*n)/4 + (-1)^n*(1+3*n)/4. - _R. J. Mathar_, Sep 26 2009

%F a(n) = 2*(3n+1)/(4-((2n+2) mod 4)). - _Bill McEachen_, Jan 09 2015

%F If a(2n-1) = x then a(2n) = 2x+3. - _Robert G. Wilson v_, Jan 26 2015

%F Let the reduced Collatz procedure be defined as Cr(n) = (3*n+1)/2. For odd n, a(n) = Cr(n). For even n, a(n) = Cr(4*n+1)/2. - _Joe Slater_, Nov 29 2016

%F a(n) = A067745(n+1) * 2^A007814((3n+1)/2). - _Joe Slater_, Nov 30 2016

%F a(n) = 2*a(n-2) - a(n-4). - _G. C. Greubel_, Apr 13 2017

%t f[n_] := If[ OddQ@ n, (3n +1)/2, (3n +1)]; Array[f, 66, 0] (* _Robert G. Wilson v_, Jan 26 2015 *)

%t f[n_] := (3 (-1)^(2n) + (-1)^(1 + n)) (-2 + 3n)/4; Array[f, 66] (* or *)

%t CoefficientList[ Series[(x^3 + 5x^2 + 2x + 1)/(x^2 - 1)^2, {x, 0, 65}], x] (* or *)

%t LinearRecurrence[{0, 2, 0, -1}, {1, 2, 7, 5}, 66] (* _Robert G. Wilson v_, Apr 13 2017 *)

%o (PARI) a(n)=n+=2*n+1; if(n%2,n,n/2) \\ _Charles R Greathouse IV_, Jan 13 2015

%Y Cf. A165351, A165367, A067745, A007814.

%K nonn,easy

%O 0,2

%A _Paul Curtz_, Sep 16 2009

%E All comments changed to formulas by _R. J. Mathar_, Sep 26 2009

%E New name from _Charles R Greathouse IV_, Jan 13 2015

%E Name corrected by _Joe Slater_, Nov 29 2016

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 25 10:51 EDT 2024. Contains 371967 sequences. (Running on oeis4.)