OFFSET
1,4
COMMENTS
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
H. L. Fisher, Letter to N. J. A. Sloane, Mar 16 1989
Simon Michalowsky, Bahman Gharesifard and Christian Ebenbauer, A Lie bracket approximation approach to distributed optimization over directed graphs, arXiv:1711.05486 [math.OC], 2017.
Eric Weisstein's World of Mathematics, Happy End Problem
MATHEMATICA
Table[Quotient[2^n, 2*n], {n, 1, 60}] (* Vladimir Joseph Stephan Orlovsky, May 07 2011 *)
PROG
(Magma) [Floor(2^(n-1)/n) : n in [1..40]]; // Vincenzo Librandi, Sep 24 2011
(Sage)
A006788 = lambda n: (1<<n)//(2*n)
[A006788(n) for n in (1..38)] # Peter Luschny, Sep 18 2014
(Python)
print([2**(n-1)//n for n in range(1, 40)]) # Gennady Eremin, Feb 04 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved