cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Previous Showing 11-20 of 23 results. Next

A304024 a(n) is the largest integer with n digits in base 3/2.

Original entry on oeis.org

2, 22, 212, 2122, 21222, 212212, 2122112, 21221112, 212211122, 2122111222, 21221112212, 212211122122, 2122111221212, 21221112212112, 212211122121122, 2122111221211222, 21221112212112212, 212211122121122122
Offset: 0

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, May 04 2018

Keywords

Comments

Every number starts and ends with 2 and contains only twos and ones.
Removing the last digit produces sequence A304272 of the largest even integers in base 3/2.
The value of this sequence in base 10 is A304025.
When adding 1 to the value of this sequence we get A070885.
The largest integer with a given number of digits in base 3/2 can be produced directly from the smallest number, sequence A304023, by replacing 21 at the beginning and 0 at the end with 2, and by shifting the rest up by 1, see sequence A304023.

Examples

			The number 5 in base 3/2 is 22, and the number 6 is 210. Therefore, 22 is the largest two-digit integer.
		

Crossrefs

Programs

  • PARI
    first(n) = {my(res=vector(n), c = 2); res[1]=2; for(i=2, n, res[i] = 10 * res[i-1] + 2; if(c % 2 == 1, res[i] -= 10); c = 3 * c / 2 + if(c%2==0, 2, 1/2)); res} \\ David A. Corneth, May 11 2018

Formula

a(1) = 2, for n > 1, a(n) = 10 * a(n - 1) + 2 if A304025(n - 1) is even. Otherwise, a(n) = 10 * a(n - 1) - 8. - David A. Corneth, May 11 2018

A304025 a(n) is the largest integer that can be written with n digits in base 3/2.

Original entry on oeis.org

2, 5, 8, 14, 23, 35, 53, 80, 122, 185, 278, 419, 629, 944, 1418, 2129, 3194, 4793, 7190, 10787, 16181, 24272, 36410, 54617, 81926, 122891, 184337, 276506, 414761, 622142, 933215, 1399823, 2099735, 3149603, 4724405, 7086608, 10629914
Offset: 1

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, May 04 2018

Keywords

Comments

A070885 is the smallest integer that can be written with n digits in base 3/2.
This sequence represented in base 3/2 is A304024.

Examples

			The number 5 in base 3/2 is 22, and the number 6 is 210. Therefore, 5 is the largest integer needing two digits in base 3/2.
		

Crossrefs

Programs

  • PARI
    first(n) = {my(res = vector(n)); res[1] = 2; for(i = 2, n, res[i] = 3 * res[i-1] / 2 + if(res[i-1] % 2==0, 2, 1/2));res} \\ David A. Corneth, May 11 2018

Formula

a(n) = A070885(n+1) - 1.

A304272 The largest even integer that can be written with n digits in base 3/2.

Original entry on oeis.org

2, 21, 212, 2122, 21221, 212211, 2122111, 21221112, 212211122, 2122111221, 21221112212, 212211122121, 2122111221211, 21221112212112, 212211122121122, 2122111221211221, 21221112212112212, 212211122121122121, 2122111221211221212, 21221112212112212121, 212211122121122121211, 2122111221211221212112
Offset: 1

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, May 09 2018

Keywords

Comments

a(n) is a prefix of a(n+1).
The largest, not necessarily even, integer in base 3/2 with n digits is a(n-1) with 2 added at the end.

Examples

			The number 4 in base 3/2 is 21, and number 6 is 210. Therefore, 21 is the largest even integer with 2 digits in base 3/2.
		

Crossrefs

Programs

  • Mathematica
    Table[StringTake["212211122121122121211221211212112", n], {n, 32}]

A005427 Josephus problem: numbers m such that, when m people are arranged on a circle and numbered 1 through m, the final survivor when we remove every 4th person is one of the first three people.

Original entry on oeis.org

5, 7, 9, 12, 16, 22, 29, 39, 52, 69, 92, 123, 164, 218, 291, 388, 517, 690, 920, 1226, 1635, 2180, 2907, 3876, 5168, 6890, 9187, 12249, 16332, 21776, 29035, 38713, 51618, 68824, 91765, 122353, 163138, 217517, 290023, 386697, 515596, 687461, 916615, 1222153, 1629538, 2172717, 2896956, 3862608, 5150144, 6866859, 9155812, 12207749, 16276999, 21702665, 28936887, 38582516, 51443354
Offset: 1

Views

Author

Keywords

Comments

Is this the same as A072493 with its first 8 terms removed? See also the similar conjecture concerning A005428 and A073941.
From Petros Hadjicostas, Jul 20 2020: (Start)
We describe the counting-off game of Burde (1987) using language from Schuh (1968). Suppose m people are labeled with the numbers 1 through m (say clockwise). (Burde uses the numbers 0 through m-1 probably because he relates this problem to the representation of m in the fractional base k/(k-1) = 4/3. He actually modifies the (4/3)-representation of m to include negative coefficients. See the coefficients f(n;k) below.)
Suppose we start the counting at the person labeled 1, and we remove every 4th person. This sequence gives those numbers m for which the last survivor is one of the first three people.
When m = 5, 9, 12, 16, 218, 517, ... the last survivor is the first person.
When m = 7, 29, 69, 92, 291, 388, ... the last survivor is the second person.
When m = 22, 39, 52, 123, 164, 690, ... the last survivor is the third person.
If we know m = a(n) and the number, say i(n), of the last survivor (when there are a(n) people on the circle), we may find a(n+1) and the number i(n+1) of the new last survivor (when there are a(n+1) people on the circle) in the following way:
(a) If 0 = a(n) mod 3, then a(n+1) = (4/3)*a(n), and i(n+1) = i(n).
(b) If 1 = a(n) mod 3 and i(n) = 1, then a(n+1) = ceiling((4/3)*a(n)) and i(n+1) = 3.
(c) If 1 = a(n) mod 3 and i(n) = 2, then a(n+1) = floor((4/3)*a(n)) and i(n+1) = 1.
(d) If 1 = a(n) mod 3 and i(n) = 3, then a(n+1) = floor((4/3)*a(n)) and i(n+1) = 2.
(e) If 2 = a(n) mod 3 and i(n) = 1, then a(n+1) = ceiling((4/3)*a(n)) and i(n+1) = 2.
(f) If 2 = a(n) mod 3 and i(n) = 2, then a(n+1) = ceiling((4/3)*a(n)) and i(n+1) = 3.
(g) If 2 = a(n) mod 3 and i(n) = 3, then a(n+1) = floor((4/3)*a(n)) and i(n+1) = 1. (End)
From Petros Hadjicostas, Jul 22 2020: (Start)
In general, for k >= 2, it seems that when m people are placed on a circle, labeled 1 through m, and every k-th person is removed (starting the counting at person 1), we may determine those m for which the last survivor is in {1, 2, ..., k-1} in the following way.
Define the sequence (T(n;k): n >= 1) by T(n;k) = ceiling(Sum_{s=1..n-1} T(s;k)/(k-1)) for n >= 2 starting with T(1; k) = 1. Then the list of those m's for which the last survivor is in {1, 2, ..., k-1} consists of all the numbers T(n;k) >= k (thus, we exclude the cases m = 1, ..., k-1 that may be repeated more than once in the sequence (T(n;k): n >= 1)).
I do not have a general proof of this conjecture though I strongly believe that Schuh's (1968) way of solving the case k = 3 (see pp. 373-375 and 377-379, where he provides two methods of solution) may provide clues for proving the conjecture.
We have T(n; k=2) = A011782(n+1), T(n; k=3) = A073941(n), T(n; k=4) = A072493(n), T(n; k=5) = A120160(n), T(n; k=6) = A120170(n), T(n; k=7) = A120178(n), T(n; k=8) = A120186(n), T(n; k=9) = A120194(n), and T(n; k=10) = A120202(n).
We also have T(n+1;k) = floor((k/(k-1))*T(n;k)) or ceiling((k/(k-1)*T(n;k)).
To identify the last survivor that results when we place T(n; k) people on the circle (with T(n;k) >= k) in the above Josephus problem, we use a modification of Burde's algorithm due to Thériault (2000).
We use the following recursions but we start at T(k;k) (rather than at the smallest n for which T(n;k) >= k). Define the sequence (S(n;k): n >= 1) by S(n;k) = T(n+k-1; k) for n >= 1. (It is easy to prove that S(1;k) = T(k;k) = 1.)
Define also the sequences (j(n;k): n >= 1) and (f(n;k): n >= 1) by j(1;k) = 1, f(1;k) = 0, f(n+1;k) = ((j(n;k) - S(n;k) - 1) mod (k-1)) + 1 - j(n;k) and j(n+1;k) = j(n;k) + f(n+1;k) for n >= 2.
Then for all n s.t. S(n;k) >= k, j(n;k) is the number of the last survivor of the Josephus problem where every k-th person is removed (provided we start the counting at number 1). It will always be the case that j(n;k) is in {1,2,...,k-1}.
We actually have S(n+1; k) = (k*S(n;k) + f(n+1;k))/(k-1) for n >= 1.
Notice that the Burde-Thériault algorithm is a generalization of Schuh's method. (End)

Examples

			From _Petros Hadjicostas_, Jul 22 2020: (Start)
We explain why 5 and 7 are in the sequence but 6 is not.
If we put m = 5 people on the circle, label them 1 through 5, start the counting at person 1, and remove every 4th person, then the list of people who are removed is 4 -> 3 -> 5 -> 2. Thus, the last survivor is 1, so m = 5 is included in this sequence.
If we put m = 6 people on a circle, label them 1 through 6, start the counting at person 1, and remove every 4th person, then the list of people who are removed is 4 -> 2 -> 1 -> 3 -> 6. Thus, the last survivor is 5 (not 1, 2, or 3), so m = 6 is not included in this sequence.
If we put m = 7 people on a circle, label them 1 through 7, start the counting at person 1, and remove every 4th person, then the list of people who are removed is 4 -> 1 -> 6 -> 5 -> 7 -> 3. Thus, the last survivor is 2, so m = 7 is included in this sequence.
Strictly speaking, m = 2 and m = 3 should have been included as well (since clearly the last survivor would be 1 or 2 or 3). In addition, m = 4 should have been included as well because the list of people removed is 4 -> 1 -> 3. The case of number 1 does create a problem since there is no survivor. Note that the numbers 1, 2, 3, 4 are all included in A072493. (End)
		

References

  • Fred Schuh, The Master Book of Mathematical Recreations, Dover, New York, 1968. [This book is cited in Burde (1987). Table 18, p. 374, is related to a very similar sequence (A073941). Thus, definitely, the counting-off games described in the book are related to a similar counting-off game in Burde (1987).]
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Similar sequences: A011782 (k = 2), A073941 (k = 3), A072493 (k = 4), A120160 (k = 5), A120170 (k = 6), A120178 (k = 7), A120186 (k = 8), A120194 (k = 9), A120202 (k = 10).

Programs

  • Mathematica
    f[s_] := Append[s, Ceiling[5 + Plus@@(s/3)]]; Nest[f, {5}, 100] (* Vladimir Joseph Stephan Orlovsky, Jan 08 2011 *)
  • PARI
    /* Gives an n X 2 matrix w s.t. w[,1] are the terms of this sequence and w[,2] are the corresponding numbers of the last survivors (1, 2 or 3). */
    lista(nn) = {my(w = matrix(nn,2)); w[1,1] = 5; w[1,2] = 1; for(n=1, nn-1,
    if(0 == w[n,1] % 3, w[n+1,1] = w[n,1]*4/3; w[n+1,2] = w[n,2]);
    if(1 == w[n,1] % 3 && w[n,2] == 1, w[n+1,1] = ceil(w[n,1]*4/3);  w[n+1,2] = w[n,2] + 2);
    if(1 == w[n,1] % 3 && w[n,2] == 2, w[n+1,1] = floor(w[n,1]*4/3); w[n+1,2] = w[n,2] - 1);
    if(1 == w[n,1] % 3 && w[n,2] == 3, w[n+1,1] = floor(w[n,1]*4/3); w[n+1,2] = w[n,2] - 1);
    if(2 == w[n,1] % 3 && w[n,2] == 1, w[n+1,1] = ceil(w[n,1]*4/3);  w[n+1,2] = w[n,2] + 1);
    if(2 == w[n,1] % 3 && w[n,2] == 2, w[n+1,1] = ceil(w[n,1]*4/3);  w[n+1,2] = w[n,2] + 1);
    if(2 == w[n,1] % 3 && w[n,2] == 3, w[n+1,1] = floor(w[n,1]*4/3); w[n+1,2] = w[n,2] - 2);
    ); Vec(w[,1]);} \\ Petros Hadjicostas, Jul 21 2020
    
  • PARI
    /* Second PARI program for the general case of Josephus problem. We use the Burde-Thériault algorithm, not the formula T(n;k) = ceiling(Sum_{s=1..n-1} T(s;k)/(k-1)). We start with T(k;k) = 1 (and omit all previous 1's). Burde starts with the smallest T(n;k) >= k whose corresponding last survivor is 1. This, however, can be very large. To get the corresponding last survivors, modify the program to get the vector j. */
    lista(nn,k) = {my(j=vector(nn)); my(f=vector(nn)); my(N=vector(nn));
    j[1]=1; f[1]=0; N[1] = 1;
    for(n=1, nn-1, f[n+1] = ((j[n]-N[n]-1) % (k-1)) + 1 - j[n];
    j[n+1] = j[n] + f[n+1]; N[n+1] = (k*N[n] + f[n+1])/(k-1););
    for(n=1, nn, if(N[n] > k-1, print1(N[n],",")));} \\ Petros Hadjicostas, Jul 23 2020

Formula

a(n) = 5 + ceiling(Sum_{k=1..n-1} a(k)/3). - Petros Hadjicostas, Jul 21 2020

Extensions

More terms (from the Burde paper, p. 208) from R. J. Mathar, Sep 26 2006
Name edited by Petros Hadjicostas, Jul 20 2020

A304273 The concatenation of the first n terms is the smallest positive even number with n digits when written in base 3/2 (cf. A024629).

Original entry on oeis.org

2, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0
Offset: 1

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, May 09 2018

Keywords

Comments

This sequence exists since the smallest even integers (see A303500) are prefixes of each other.
Apparently a variant of A205083. - R. J. Mathar, Jun 09 2018

Examples

			The number 5 in base 3/2 is 22, and the number 6 is 210. Therefore 210 is the smallest even integer with 3 digits in base 3/2. Its prefix 21 is 4: the smallest even integer with 2 digits in base 3/2.
		

Crossrefs

Programs

  • Maple
    b:= proc(n) option remember; `if`(n<2, 2*n,
          (t-> t+irem(t, 2))(b(n-1)*3/2))
        end:
    a:= n-> b(n)-3/2*b(n-1):
    seq(a(n), n=1..105);  # Alois P. Heinz, Jun 21 2018
  • Mathematica
    b[n_] := b[n] = If[n < 2, 2*n, Function[t, t + Mod[t, 2]][3/2 b[n - 1]]]; a[n_] := b[n] - 3/2 b[n - 1]; Table[a[n], {n, 1, 105}] (* Robert P. P. McKone, Feb 12 2021 *)

Formula

For n>1, a(n) = A304274(n-1) - 1.

Extensions

More terms from Alois P. Heinz, Jun 21 2018

A082416 Parity of A073941(n).

Original entry on oeis.org

1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1
Offset: 1

Views

Author

N. J. A. Sloane, based on a suggestion of Jeremy Gardiner, Apr 25 2003

Keywords

Crossrefs

Programs

  • Haskell
    a082416 n = a082416_list !! (n-1)
    a082416_list = map (`mod` 2) a073941_list
    -- Reinhard Zumkeller, Oct 26 2011
  • PARI
    u=1; for(n=2,150,v=ceil(u/2); u=v+u; print1(v%2,","))
    

Extensions

More terms from Benoit Cloitre, Apr 25 2003

A304023 a(n) is the smallest integer with n digits in base 3/2 expressed in base 3/2.

Original entry on oeis.org

0, 20, 210, 2100, 21010, 210110, 2101100, 21011000, 210110000, 2101100010, 21011000110, 210110001100, 2101100011010, 21011000110100, 210110001101000, 2101100011010010, 21011000110100110, 210110001101001100, 2101100011010011010, 21011000110100110100, 210110001101001101010
Offset: 1

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, May 04 2018

Keywords

Comments

Excluding 0, every term starts with 2 and has exactly one 2.
The last digit is always zero.
Removing the last digit produces the sequence A303500 of the smallest even integers in base 3/2.
The value of this sequence in base 10 is A070885.
When subtracting 1 from the value of this sequence we get A304025.
The largest integer with a given number of digits in base 3/2 can be produced directly from this sequence by replacing 21 at the beginning and 0 at the end with 2, and by shifting the rest up by 1, see sequence A304024.

Examples

			The number 5 in base 3/2 is 22, and the number 6 is 210. Therefore, 210 is the smallest three-digit integer.
		

Crossrefs

Programs

  • Maple
    b:= proc(n) b(n):= `if`(n=1, 1, 3*ceil(b(n-1)/2)) end:
    g:= proc(n) g(n):= `if`(n<2, 0, irem(n, 3, 'q')+g(2*q)*10) end:
    a:= n-> g(b(n)):
    seq(a(n), n=1..30);  # Alois P. Heinz, Feb 13 2021
  • PARI
    f(n) = if( n<1, 0, f(n\3 * 2) * 10 + n%3);
    a(n) = {my(k=0); while(#Str(f(k)) != n, k++); f(k);} \\ Michel Marcus, Jun 19 2018
  • Python
    def f(n): return 0 if n < 1 else f(n//3*2)*10 + n%3
    def a(n):
      k = 0
      while len(str(f(k))) != n: k += 1
      return f(k)
    print([a(n) for n in range(1, 22)]) # Michael S. Branicky, Feb 12 2021 after Michel Marcus
    

Formula

a(n) = A024629(A070885(n)). - Michel Marcus, Jun 19 2018

Extensions

More terms from Michel Marcus, Jun 19 2018

A304274 The concatenation of the first n elements is the largest positive even number with n digits when written in base 3/2.

Original entry on oeis.org

2, 1, 2, 2, 1, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 2, 1, 1, 2, 2, 1, 2, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 1, 2, 2, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1, 2, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 1, 2, 1, 2, 2, 1, 1, 2
Offset: 1

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, May 09 2018

Keywords

Comments

This sequence is possible due to the fact that the largest even integers are prefixes of each other.
A304272(n) is the largest even integer with n digits.

Examples

			Number 8 in base 3/2 is 212, and it is the largest even integer with 3 digits in base 3/2. Its prefix 21 is 4: the largest even integer with 2 digits in base 3/2.
		

Crossrefs

Programs

  • Maple
    b:= proc(n) option remember; `if`(n=1, 2,
          (t-> t+irem(t, 2))(b(n-1)*3/2))
        end:
    a:= n-> b(n+1)-3/2*b(n)+1:
    seq(a(n), n=1..120);  # Alois P. Heinz, Jun 21 2018
  • Mathematica
    b[n_] := b[n] = If[n == 1, 2, Function[t, t + Mod[t, 2]][3/2 b[n-1]]];
    a[n_] := b[n+1] - 3/2 b[n] + 1;
    Array[a, 120] (* Jean-François Alcover, Dec 13 2018, after Alois P. Heinz *)

Formula

a(n) = A304273(n+1) + 1.
From Alois P. Heinz, Jun 21 2018: (Start)
a(n) = A305498(n+1) -3/2*A305498(n) + 1.
Sum_{i=0..n-1} (3/2)^i*a(n-i) = A305497(n). (End)

Extensions

More terms from Alois P. Heinz, Jun 21 2018

A305497 The largest positive even integer that can be represented with n digits in base 3/2.

Original entry on oeis.org

2, 4, 8, 14, 22, 34, 52, 80, 122, 184, 278, 418, 628, 944, 1418, 2128, 3194, 4792, 7190, 10786, 16180, 24272, 36410, 54616, 81926, 122890, 184336, 276506, 414760, 622142, 933214, 1399822, 2099734, 3149602, 4724404, 7086608, 10629914, 15944872, 23917310
Offset: 1

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, Jun 02 2018

Keywords

Crossrefs

Programs

  • Mathematica
    b[n_] := b[n] = If[n == 1, 2, Function[t, t + Mod[t, 2]][3/2 b[n - 1]]]; a[n_] := b[n + 1] - 3/2 b[n] + 1; A305497[n_] := Sum[(3/2)^i*a[n - i], {i, 0, n - 1}]; Table[A305497[n], {n, 1, 39}] (* Robert P. P. McKone, Feb 12 2021 *)
  • Python
    from itertools import islice
    def A305497_gen(): # generator of terms
        a = 2
        while True:
            a += a>>1
            yield (a<<1)-4
    A305497_list = list(islice(A305497_gen(),70)) # Chai Wah Wu, Sep 20 2022

Formula

a(n+1) = 2*floor(3*a(n)/4) + 2.
a(n) = 2*A061419(n+1) - 2.
a(n) = A305498(n+1) - 2.
a(n) = Sum_{i=0..n-1} (3/2)^i*A304274(n-i). - Alois P. Heinz, Jun 21 2018

A305498 The smallest positive even integer that can be represented with n digits in base 3/2.

Original entry on oeis.org

2, 4, 6, 10, 16, 24, 36, 54, 82, 124, 186, 280, 420, 630, 946, 1420, 2130, 3196, 4794, 7192, 10788, 16182, 24274, 36412, 54618, 81928, 122892, 184338, 276508, 414762, 622144, 933216, 1399824, 2099736, 3149604, 4724406, 7086610, 10629916, 15944874, 23917312
Offset: 1

Views

Author

Tanya Khovanova and PRIMES STEP Senior group, Jun 02 2018

Keywords

Crossrefs

Programs

  • Python
    from itertools import islice
    def A305498_gen(): # generator of terms
        a = 2
        while True:
            yield (a<<1)-2
            a += a>>1
    A305498_list = list(islice(A305498_gen(),70)) # Chai Wah Wu, Sep 20 2022

Formula

a(n+1) = 2*ceiling(3*a(n)/4).
a(n) = 2*A061419(n).
a(n) = A305497(n-1) + 2.
Previous Showing 11-20 of 23 results. Next