login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A182442 a(0)=0, a(1)=1, for n>1, a(n) = a(n-1)*2 + floor(a(n-2)/n). 0
0, 1, 2, 4, 8, 16, 33, 68, 140, 287, 588, 1202, 2453, 4998, 10171, 20675, 41985, 85186, 172704, 349891, 708417, 1433495, 2899190, 5860705, 11842209, 23918846, 48293161, 97472205, 196669165, 396699440, 799954518, 1612705792, 3250410162 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
MATHEMATICA
RecurrenceTable[{a[0]==0, a[1]==1, a[n]==2*a[n-1]+Floor[a[n-2]/n]}, a, {n, 40}] (* Harvey P. Dale, Mar 13 2016 *)
PROG
(Python)
prpr = 0
prev = 1
for n in range(2, 99):
. current = prev*2 + prpr//n
. print prpr,
. prpr = prev
. prev = current
CROSSREFS
Sequence in context: A121485 A308808 A324406 * A098588 A367715 A126683
KEYWORD
nonn
AUTHOR
Alex Ratushnyak, Apr 29 2012
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)