OFFSET
0,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..14335
J. Wallgren, Hierarchical sequences
FORMULA
a(7n+3) = 3*A001511(1+n), a(7n) = a(7n+2) = a(7n+4) = a(7n+6) = a(7n+3)-2, a(7n+1) = a(7n+5) = a(7n+3)-1. - Antti Karttunen, May 28 2017
MATHEMATICA
Block[{m = 3, i = 7, a}, a = IntegerExponent[2 Range@ i, 2]; Array[IntegerExponent[2 #, 2] /. k_ :> (a + m k - m) &, 15]] // Flatten (* Michael De Vlieger, Nov 02 2018 *)
PROG
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonas Wallgren, Jan 19 2001
STATUS
approved