[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A112306
a(n) = number of terms in s(n), where s(n) is defined in A096055.
2
1, 3, 6, 13, 27, 54, 109, 218, 437, 874, 1749, 3499, 6998, 13997, 27994, 55989, 111978, 223957, 447915, 895830, 1791661, 3583322, 7166645, 14333290, 28666581, 57333163, 114666326, 229332653, 458665307, 917330614, 1834661229, 3669322459
OFFSET
0,2
FORMULA
If (A096055(n)) = 0, a(n+1) = a(n)*2. If (A096055(n)) = 1, a(n+1) = a(n)*2 +1.
CROSSREFS
Cf. A096055.
Sequence in context: A276129 A123247 A212444 * A291753 A033129 A079403
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Nov 30 2005
EXTENSIONS
More terms from David Wasserman, Apr 16 2009
STATUS
approved