OFFSET
1,2
COMMENTS
Numbers whose base-3 representation ends in 1 and contains no 2; primitive members of A005836. - Peter Munn, Aug 14 2023
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
Barry Brent, On the Constant Terms of Certain Laurent Series, Preprints (2023) 2023061164.
FORMULA
Conjecture: a(n) = A190640(n)/2. - Michel Marcus, Aug 24 2016
MAPLE
N:= 100000: # to get all terms <= N
with(queue):
Q:= new(1):
A:= {}:
while not empty(Q) do
s:= dequeue(Q);
A:= A union {s};
for t in {3*s-2, 3*s+1} minus A do
if t <= N then enqueue(Q, t) fi
od
od:
sort(convert(A, list)); # Robert Israel, Nov 29 2015
MATHEMATICA
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Clark Kimberling, May 26 2011
STATUS
approved