A325913 Integers m such that there are exactly two powers of 2 between 3^m and 3^(m+1).
1, 3, 5, 6, 8, 10, 11, 13, 15, 17, 18, 20, 22, 23, 25, 27, 29, 30, 32, 34, 35, 37, 39, 41, 42, 44, 46, 47, 49, 51, 52, 54, 56, 58, 59, 61, 63, 64, 66, 68, 70, 71, 73, 75, 76, 78, 80, 82, 83, 85, 87, 88, 90, 92, 94, 95, 97, 99, 100
Offset: 1
Keywords
Examples
For m=3, there are exactly two powers of 2 between 3^3 = 27 and 3^(3+1) = 81: 32 and 64, since 27 < 32 < 64 < 81. Therefore, m=3 is an element of the sequence (at n=2).
Links
- Benjamin Lombardo, Table of n, a(n) for n = 1..1000
Programs
-
Python
import math def a(n): return math.floor(n/(math.log2(3)-1)) for n in range(1, 101): print("a(" + str(n) + ") = " + str(a(n)))
Formula
a(n) = floor(n/(log_2(3)-1)).
a(n) = A054414(n) - n - 1.
Comments