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.

User: Glen Whitney

Glen Whitney's wiki page.

Glen Whitney has authored 20 sequences. Here are the ten most recent ones:

A378004 Number of winning positions of Gordon Hamilton's Jumping Frogs game with n single frogs, up to left-right symmetry.

Original entry on oeis.org

1, 1, 2, 5, 12, 39, 123, 412, 1431, 4831, 17363, 60697, 219777, 781260, 2858031, 10329091, 38103069, 138996792
Offset: 1

Author

Glen Whitney, Nov 13 2024

Keywords

Comments

For the rules of the Jumping Frogs game, see A377232.
Counts the number of distinct winning positions of the game with exactly n frogs, each in a different place. Positions are considered the same if one can be obtained from the other by reversing it left-to-right.
Equivalently, a(n) is the number of unordered pairs {k, A030101(k)} with k odd such that the binary weight A000120(k) = n, and k occurs in A377232.
Since a stack of k frogs moves exactly k spaces in the Jumping Frogs game, the sum of the lengths of all moves starting from a position with n single frogs is at most A000217(n-1), the (n-1)st triangular number. Hence if it is a winning position, the length of the position (excluding unoccupied places to the left of the first occupied one, and unoccupied places to the right of the last occupied one) is at most one more than this triangular number. Therefore a(n) is finite for all n.

Examples

			For four frogs, we can win:
  1111 -> 0211 -> 0013 -> 0004
  11101 -> 02101 -> 03001 -> 00004
  11011 -> 02011 -> 02020 -> 04000
  111001 -> 201001 -> 003001 -> 000004
  1101001 -> 0201001 -> 0003001 -> 0000004
Any other position with four frogs in different places is either a left-right reversal of one of these, or no sequence of moves will result in all frogs in the same place. Hence a(4)=5.
Equivalently, one can start with four frogs in a single place and make a tree of all possible reverse moves, and then count leaves in which all frogs are in different places:
                       _____________4____
                      /             |    \
                 ___3001___        202    13
                /   |  |   \      /   \    |
          201001 12001 2101 1021 1102 112 121
         /   |     |         |    |
  1101001 111001 11101      1111 11011
Again we see that a(4) = 5. (Note that nodes whose labels or reversed labels have already occurred earlier in a row are omitted from this tree.)
		

References

Crossrefs

Extensions

a(16)-a(18) from Jinyuan Wang, Nov 25 2024

A377307 Minimum number of consecutive pieces that must be added to the pattern given by the binary representation of n to produce a winning position in Gordon Hamilton's Jumping Frogs game, or -1 if there is no such position.

Original entry on oeis.org

1, 2, 3, 1, 4, 8, 3, 1, 5, 2, 10, 3, 4, 2, 1, 1, 6, 3, 8, 2, 6, 12, 6, 3, 5, 2, 1, 2, 4, 2, 1, 1, 7, 4, 3, 3, 9, 13, 10, 2, 7, 11, 12, 6, 7, 2, 3, 3, 6, 3, 3, 2, 4, 8, 1, 2, 5, 2, 2, 1, 1, 2, 1, 1, 8, 5, 4, 3, 10, 14, 3, 3, 8, 12, 13, 7, 8, 3, 5, 2, 8, 11, 10, 6
Offset: 0

Author

Glen Whitney, Oct 23 2024

Keywords

Comments

For the rules of the Jumping Frogs game, see A377232.
Given the result that any block of consecutive single frogs is a winning position, the "interesting" positions are those that have an empty place, or gap, in them. The value a(n) measures "how difficult" the n-th such position is, as follows: Starting from a nonnegative integer n, interpret its binary representation as a Jumping Frogs position consisting of empty and/or singly-filled places. Add one more empty place (one more 0) at the end, to ensure that there is at least one gap. The value a(n) is then the minimum positive number of additional singly-filled places that must be added thereafter to create a winning position, or -1 if no winning position can be so constructed.
Equivalently, a(n) is the least k such that n*2^{k+1} + 2^k - 1 is a term of A377232, should such a k exist, and -1 otherwise.
Gordon Hamilton conjectures in his reference below that a(n) is positive for all n.

Examples

			Consider n=5, with binary representation 101. We append another 0, to get 1010, and then consider the Jumping Frogs positions 10101, 101011, 1010111, etc. Of these, the first one that is solvable turns out to be 101011111111, with eight ones. Therefore, a(5) = 8. (Here is the solution for this case, specified by the place number where each jump starts and its direction, R or L; the places are numbered right-to-left from 0: 5R, 3L, 4L, 7L, 11R, 6R, 1L, 2R, 0L and all ten frogs end up in place 9, the one flanked by zeros in the binary representation.)
		

References

  • Gordon Hamilton, The Infinite Pickle, Our Street Books, 2024, p. 106.

Crossrefs

Cf. A377232, winning binary jumping frogs positions.

A377308 All winning positions of Gordon Hamilton's Jumping Frogs game, encoded as even numbers by their prime-factorization exponents.

Original entry on oeis.org

2, 4, 6, 8, 12, 16, 18, 20, 24, 30, 32, 42, 48, 50, 54, 56, 60, 64, 70, 84, 90, 96, 100, 120, 126, 128, 140, 150, 162, 176, 192, 198, 200, 210, 240, 252, 256, 260, 264, 270, 280, 294, 300, 330, 350, 384, 390, 392, 400, 416, 420, 462, 480, 486, 490, 500
Offset: 1

Author

Glen Whitney, Oct 23 2024

Keywords

Comments

For the rules of the Jumping Frogs game, see A377232.
Enumerate the primes in order, p_1 = 2, p_2 = 3, etc. Factor any natural number k > 1 as p_1^{x_1}p_2^{x_2}...p_i^{x_i}, where i is as small as possible and each x_j is nonnegative. Then when k is even and x_1, x_2, ..., x_i is a winning position for Jumping Frogs, k occurs as a term. We consider only even numbers to keep the positions distinct; leading zeros can never be used or affect the outcome of Jumping Frogs.
An even number k is a term if and only if A137502(k) is a term. - Pontus von Brömssen, Oct 24 2024

Examples

			Consider k = 28. It can be written as 2^2 * 3^0 * 5^0 * 7^1. The jumping frogs position 2, 0, 0, 1 has no legal moves (no occupied place adjacent to the 1 entry and no occupied place 2 places away from the 2 entry). Therefore it is not a winning position, and 28 is not a term.
Conversely, k = 20 can be written as 2^2 * 3^0 * 5^1. The jumping frogs position 2, 0, 1 can be won in a single move to 0, 0, 3 (all frogs in one place). Hence k is a term, namely a(8).
		

References

Crossrefs

Cf. A137502, A377232 (binary winning positions).

A377232 Odd numbers with binary representations corresponding to winning positions in Gordon Hamilton's Jumping Frogs game.

Original entry on oeis.org

1, 3, 7, 11, 13, 15, 23, 27, 29, 31, 39, 47, 55, 57, 59, 61, 63, 75, 79, 95, 103, 105, 107, 111, 115, 119, 121, 123, 125, 127, 143, 155, 159, 183, 191, 203, 207, 211, 215, 217, 219, 223, 231, 235, 237, 239, 241, 243, 247, 249, 251, 253, 255
Offset: 1

Author

Glen Whitney, Oct 21 2024

Keywords

Comments

A position in the jumping frogs game is a finite sequence P of nonnegative integers. If P_i = k ("lily pad i has k frogs"), and P_{i+k} > 0 ("lily pad i+k has at least one frog"), then it is legal to move to position Q where Q_i = 0, Q_{i+k} = P_{i+k} + k, and all other Q_j = P_j ("k frogs may together jump k places"). Similarly, if P_{i-k} > 0 then it is legal to move to Q' where Q'i = 0, Q'{i-k} = P_{i-k} + k, and Q'_j = P_j for all other j. These are the only legal moves. A position is considered "winning" if there is a sequence of legal moves leading to a position with only one nonzero entry ("the frogs want to all party together"). Any number represents a position with at most one frog per lily pad via its binary representation considered as a sequence of ones and zeros. We only consider odd numbers in this sequence to keep the positions distinct; trailing zeros in a sequence can never be used or affect whether it is winning or not winning.
Every number of the form 2^k - 1 is a term: As shown in the Hamilton reference, the position consisting of k consecutive frogs can be won by starting in the middle and jumping 1, 2, ..., k-1 places outward, alternating left and right.
The example below for i=5 generalizes to show that every term (except the first) must be a term of A004780, i.e., have two consecutive ones in its binary representation.
Since arbitrary nonnegative numbers are allowed in positions of the jumping frogs game, one could generate an analogous sequence for any base b by interpreting a number as its sequence of digits in base b, and including only those numbers corresponding to winning positions with no trailing zeros.
An odd number k is a term if and only if A030101(k) (the binary reversal of k) is a term. - Pontus von Brömssen, Oct 23 2024

Examples

			Consider i = 5 with binary representation 101. There are no legal moves from the position 1,0,1 (since no "frog" is adjacent to another one, and single frogs may only jump one place). Therefore 5 is not a term.
Conversely, consider i = 11 with binary representation 1011. From 1, 0, 1, 1, it is legal to move to 1, 0, 2, 0, and then to 3, 0, 0, 0, with only one nonzero entry. Therefore, 1, 0, 1, 1 is a winning position, and 11 does appear as a(4).
The Numberphile video (see the Links) mentions a then-open problem as to whether any number of the form 2^k - 2^{k-2} - 2 - 1 (corresponding to a single frog, an empty place, k-4 consecutive frogs, an empty place, and then a final lone frog) is a term. In fact, 3069 corresponding to k=12 appears (as a(371), and no smaller number of this form occurs, although many larger ones do):
  1 0 1 1 1 1 1 1 1 1 0 1
  1 0 1 1 1 1 1 1 0 2 0 1
  1 0 1 1 1 1 1 1 0 0 0 3
  1 0 1 1 1 1 2 0 0 0 0 3
  1 0 1 0 2 1 2 0 0 0 0 3
  1 0 1 0 4 1 0 0 0 0 0 3
  5 0 1 0 0 1 0 0 0 0 0 3
  0 0 1 0 0 6 0 0 0 0 0 3
  0 0 1 0 0 0 0 0 0 0 0 9
  0 0 X 0 0 0 0 0 0 0 0 0
		

References

  • Gordon Hamilton, The Infinite Pickle, Our Street Books, 2024, pp. 77-114.

Crossrefs

Except for a(1), subsequence of A004780.
Cf. A030101.

A376138 a(n) is the smallest k such that n = ab + cd with 1 <= a,b,c,d <= k.

Original entry on oeis.org

1, 2, 2, 2, 2, 3, 2, 3, 3, 3, 3, 3, 4, 3, 4, 4, 3, 4, 4, 4, 4, 5, 4, 4, 5, 5, 4, 5, 5, 5, 4, 5, 5, 5, 5, 5, 6, 6, 5, 5, 6, 6, 6, 5, 6, 7, 6, 6, 5, 6, 6, 7, 6, 6, 6, 7, 7, 7, 6, 6, 7, 7, 7, 7, 6, 7, 8, 7, 7, 7, 6, 7, 7, 8, 8, 7, 7, 7, 8, 8, 8, 8, 7, 7, 8, 9, 8
Offset: 2

Author

Glen Whitney, Oct 14 2024

Keywords

Comments

The least side length that is required to express n as the sum of two rectangular numbers.
The minimum height of an area-n generalized "L" polyomino (a union of two integer-side rectangles in portrait orientation).
The largest n such that a(n) = k is 2k^2 since that n can be written as k*k + k*k.

Examples

			For n = 7, we may write
  7 = 1*1 + 2*3,
  7 = 1*2 + 1*5,
  7 = 1*3 + 2*2.
Of these, the first and third have the smallest value for the largest factor appearing. Therefore, a(7) = 3.
		

Crossrefs

Cf. A033677 (as single rectangular number).

Programs

  • Maple
    b:= proc(n) b(n):= min(select(x-> x^2>=n, numtheory[divisors](n))) end:
    a:= proc(n) a(n):= min(seq(max(b(i), b(n-i)), i=1..n/2)) end:
    seq(a(n), n=2..100);  # Alois P. Heinz, Oct 15 2024
  • Mathematica
    b[n_] := SelectFirst[Divisors[n], #^2 >= n&];
    a[n_] := Min[Table[Max[b[i], b[n-i]], {i, 1, n/2}]];
    Table[a[n], {n, 2, 100}] (* Jean-François Alcover, Jan 26 2025, after Alois P. Heinz *)
  • Python
    from sympy import divisors
    from functools import cache
    @cache
    def b(n): return next(x for x in divisors(n) if x**2 >= n)
    def a(n): return min(max(b(i), b(n-i)) for i in range(1, n//2+1))
    print([a(n) for n in range(2, 100)]) # Michael S. Branicky, Oct 15 2024 after Alois P. Heinz

Formula

a(n) = min_{i=1..n/2} max(A033677(i), A033677(n-i)).

A360566 Level sizes of numerator-denominator-incrementing tree of rationals in (0,1).

Original entry on oeis.org

1, 1, 2, 1, 2, 2, 3, 2, 4, 2, 4, 4, 3, 3, 6, 3, 6, 4, 5, 5, 8, 4, 7, 7, 7, 5, 10, 4, 8, 8, 11, 8, 11, 6, 12, 12, 11, 6, 12, 7, 12, 10, 14, 10, 18, 7, 12, 12, 13, 11, 20, 9, 14, 11, 15, 13, 22, 8, 16, 18, 17, 14, 19, 9, 18, 14, 19, 12, 24, 11, 22, 22, 19, 15, 24, 12, 24, 18, 27, 22, 36, 12, 19, 23
Offset: 3

Author

Glen Whitney, Feb 11 2023

Keywords

Comments

Construct a tree of rational numbers by starting with a root labeled 1/2. Then iteratively add children to each node as follows: to the node labeled p/q in lowest terms, add children labeled with any of p/(q+1) and (p+1)/q that are less than one and have not already appeared in the tree. Then a(n) is the number of nodes n-3 levels below the root (the offset 3 is chosen so that the level number corresponds to the sum of the numerator and denominator of most fractions at level n).
This construction is similar to the Farey tree except that the children of p/q are its mediants with 0/1 and 1/0 (if those mediants have not already occurred), rather than its mediants with its nearest neighbors among its ancestors.
It might appear at first glance that the sum of the numerator and denominator of all fractions at level n divides n. However, 7/10 and 8/9 first appear at level 33 (as children of 7/9 at level 32), but 17 does not divide 33.
Since 1/(n-1) always appears on level n, a(n) > 0. Bertrand's postulate implies that for all n > 5, a(n) > 1, since for each prime p with n/2 < p < n, (n+1-p)/p will also occur at level n.
For a proof that the tree described above includes all rational numbers between 0 and 1, see Gordon and Whitney.

Examples

			To build the tree, 1/2 only has child 1/3, since 2/2 = 1 is outside of (0,1). Then 1/3 has children 1/4 and 2/3. In turn, 1/4 only has child 1/5 because 2/4 = 1/2 has already occurred, and 2/3 has no children because 2/4 has already occurred and 3/3 is too large. Continuing in this fashion, the first few levels of the tree look like:
1/2
 |
1/3
 | \
1/4 2/3
 |
1/5
 | \
1/6 2/5
 |   |
1/7 3/5
 | \   \
1/8 2/7 4/5
Therefore, this sequence begins 1, 1, 2, 1, 2, 2, 3, ...
		

Crossrefs

Numerators and denominators of the nodes in A360564 and A360565.
See also the Farey tree in A007305 and A007306.

Programs

  • Python
    # See the entry for A360564.

A360565 Denominators of breadth-first numerator-denominator-incrementing enumeration of rationals in (0,1).

Original entry on oeis.org

2, 3, 4, 3, 5, 6, 5, 7, 5, 8, 7, 5, 9, 7, 10, 9, 8, 7, 11, 7, 12, 11, 8, 7, 13, 11, 9, 4, 14, 13, 11, 15, 13, 11, 16, 15, 14, 13, 12, 11, 17, 13, 11, 18, 17, 14, 13, 12, 11, 19, 17, 13, 11, 20, 19, 17, 13, 11, 21, 19, 17, 13, 6, 22, 21, 20, 19, 18, 17, 14, 13, 23, 19, 17, 13, 24, 23, 19, 18, 17, 14, 13, 25, 23, 10, 19, 9, 17, 15
Offset: 1

Author

Glen Whitney, Feb 11 2023

Keywords

Comments

Construct a tree of rational numbers by starting with a root labeled 1/2. Then iteratively add children to each node breadth-first as follows: to the node labeled p/q in lowest terms, add children labeled with any of p/(q+1) and (p+1)/q (in that order) that are less than one and have not already appeared in the tree. Then a(n) is the denominator of the n-th rational number (in lowest terms) added to the tree.
This construction is similar to the Farey tree except that the children of p/q are its mediants with 0/1 and 1/0 (if those mediants have not already occurred), rather than its mediants with its nearest neighbors among its ancestors.
For a proof that the tree described above includes all rational numbers between 0 and 1, see Gordon and Whitney.

Examples

			To build the tree, 1/2 only has child 1/3, since 2/2 = 1 is outside of (0,1). Then 1/3 has children 1/4 and 2/3. In turn, 1/4 only has child 1/5 because 2/4 = 1/2 has already occurred, and 2/3 has no children because 2/4 has already occurred and 3/3 is too large. Thus, the sequence begins 2, 3, 4, 3, 5, ... (the denominators of 1/2, 1/3, 1/4, 2/3, 1/5, ...).
		

Crossrefs

Numerators in A360564.
Level sizes of the tree in A360566.
See also the Farey tree in A007305 and A007306.
Cf. A293248.

Programs

  • Python
    # See the entry for A360564.

A360564 Numerators of breadth-first numerator-denominator-incrementing enumeration of rationals in (0,1).

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 2, 1, 3, 1, 2, 4, 1, 3, 1, 2, 3, 4, 1, 5, 1, 2, 5, 6, 1, 3, 5, 3, 1, 2, 4, 1, 3, 5, 1, 2, 3, 4, 5, 6, 1, 5, 7, 1, 2, 5, 6, 7, 8, 1, 3, 7, 9, 1, 2, 4, 8, 10, 1, 3, 5, 9, 5, 1, 2, 3, 4, 5, 6, 9, 10, 1, 5, 7, 11, 1, 2, 6, 7, 8, 11, 12, 1, 3, 3, 7, 4, 9, 11
Offset: 1

Author

Glen Whitney, Feb 11 2023

Keywords

Comments

Construct a tree of rational numbers by starting with a root labeled 1/2. Then iteratively add children to each node breadth-first as follows: to the node labeled p/q in lowest terms, add children labeled with any of p/(q+1) and (p+1)/q (in that order) that are less than one and have not already appeared in the tree. Then a(n) is the numerator of the n-th rational number (in lowest terms) added to the tree.
This construction is similar to the Farey tree except that the children of p/q are its mediants with 0/1 and 1/0 (if those mediants have not already occurred), rather than its mediants with its nearest neighbors among its ancestors.
For a proof that the tree described above includes all rational numbers between 0 and 1, see Gordon and Whitney.

Examples

			To build the tree, 1/2 only has child 1/3, since 2/2 = 1 is outside of (0,1). Then 1/3 has children 1/4 and 2/3. In turn, 1/4 only has child 1/5 because 2/4 = 1/2 has already occurred, and 2/3 has no children because 2/4 has already occurred and 3/3 is too large. Thus, the sequence begins 1, 1, 1, 2, 1, ... (the numerators of 1/2, 1/3, 1/4, 2/3, 1/5, ...).
		

Crossrefs

Denominators in A360565.
Level sizes of the tree in A360566.
See also the Farey tree in A007305 and A007306.
Cf. A293247.

Programs

  • Python
    from fractions import Fraction
    row = [Fraction(1,2)]
    seen = set([Fraction(1,2), Fraction(1,1)])
    limit = 25 # chosen to generate 10000 fractions
    nums = []
    denoms = []
    rowsizes = []
    while row[0].denominator <= limit:
       rowsizes.append(len(row))
       newrow = []
       for frac in row:
          nums.append(frac.numerator)
          denoms.append(frac.denominator)
          for nf in [Fraction(frac.numerator, frac.denominator+1),
                     Fraction(frac.numerator+1, frac.denominator)]:
             if not(nf in seen):
                newrow.append(nf)
                seen.add(nf)
       row = newrow
    print(', '.join(str(num) for num in nums))
    print(', '.join(str(denom) for denom in denoms))
    print(', '.join(str(rowsize) for rowsize in rowsizes))

A349044 Non-Brauer numbers.

Original entry on oeis.org

12509, 13207, 13705, 15473, 16537, 20753, 22955, 23219, 23447, 24797, 25018, 26027, 26253, 26391, 26414, 26801, 27401, 27410, 30897, 30946, 31001, 32921, 33065, 33074, 41489, 41506, 43755, 43927, 45867, 46355, 46419, 46797, 46871, 46894, 47761, 49373, 49577, 49593, 49594, 49611, 50036, 50829, 51667
Offset: 1

Author

Glen Whitney, Nov 06 2021

Keywords

Comments

A sequence 1=a_0 < a_1 < a_2 < ... < a_l = n is an addition chain (of length l) for n if for each i, 0 < i <= l, there are j_i and k_i such that a_i = a_j_i + a_k_i. Such a chain is called a star-chain or Brauer chain if in addition each j_i = i-1. A number is a Brauer number if among its shortest addition chains there is a Brauer chain, and non-Brauer otherwise.
The length of a shortest Brauer chain for n is often denoted l^*(n). A003313(n) gives the length of a shortest addition chain for n. Thus n is in this sequence if and only if A003313(n) < l^*(n).
For entries at least through 41506, these numbers satisfy l^*(n) = A003313(n) + 1. It seems likely that larger differences between l^*(n) and A003313(n) occur for later entries in this sequence, but it is unclear whether any n with a larger difference have been found.
These differences between l^*(n) and A003313(n) are highlighted by the following formulation: consider a machine which starts with a 1 in "cache" and can then at each step execute one of two operations: (1) Add any number that has ever been in cache to the current contents of cache, or (2) Restore any number that has previously been in cache to the cache, replacing its prior contents. Then n is in this sequence if and only if there is a shortest program that results in n in cache that includes a "Restore" step. Note further that if there is an entry in this sequence such that l^*(n) > A003313(n)+1, then all shortest programs producing n in cache would contain a "Restore" operation. The definition of A293771 is based on a similar machine with a separate "Store" operation that puts the cache value into "memory," and one could formulate an analogous conjecture here that the "Restore" operation is never necessary for a shortest program. The existence or not of an n in this sequence such that l^*(n) > A003313(n)+1 would settle this question and provide mild evidence one way or the other on the conjecture in A293771.

Examples

			The shortest star-chains for 12509 have length 18; one example is 1,2,3,4,7,11,18,25,43,86,172,344,688,1376,1401,2777,5554,6955,12509. (By inspection, each number in this chain is the sum of the prior number and another number in the sequence, possibly also the prior number.) On the other hand, there are addition chains of length 17 for 12509, e.g., 1,2,4,6,12,13,24,48,96,192,384,768,781,1562,3124,6248,12496,12509. (Here a_5 = a_3+a_3, preventing this from being a star-chain.) All numbers smaller than 12509 include a star chain among their shortest addition chains (by exhaustive search). Hence 12509 is the first number in this sequence.
		

Crossrefs

Cf. A003313, the length of a shortest addition chain for n.
Cf. A079301, A079302, the number of shortest addition chains for n which are Brauer chains and which are non-Brauer chains, respectively.

Formula

A079301(n) = 0 if and only if n occurs in this sequence.

A348262 Number of 1's required to build n using + and ^.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 5, 5, 6, 7, 8, 9, 10, 11, 6, 7, 8, 9, 10, 11, 12, 13, 11, 7, 8, 6, 7, 8, 9, 10, 7, 8, 9, 10, 8, 9, 10, 11, 12, 12, 13, 12, 13, 13, 14, 15, 13, 9, 10, 11, 12, 13, 12, 13, 14, 14, 14, 13, 14, 15, 16, 14, 7, 8, 9, 10, 11, 12, 13, 14, 12, 12, 13, 14, 15, 16, 17
Offset: 1

Author

Glen Whitney, Oct 09 2021

Keywords

Examples

			11+111++^ is a minimal-length RPN formula with value 8, using just these operators. It contains five occurrences of the symbol "1". Hence, a(8) = 5.
		

Crossrefs

Cf. A213924 (expression-length complexity with the same set {1,+,^}).
Cf. A005245 (variant using + and *), A025280 (using +, *, and ^), A091333 (using +, -, and *), A091334 (using +, -, *, and ^), A348089 (using +, -, *, /, and ^).

Formula

a(n) = (A213924(n) + 1)/2.