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!)
A304493 a(0) = 1; a(n) = a(n-a(floor(n/2))) + a(n-a(floor(n/4))). 1
1, 2, 3, 5, 5, 8, 7, 11, 13, 12, 14, 18, 19, 20, 17, 19, 23, 24, 27, 28, 26, 31, 22, 27, 32, 34, 35, 37, 42, 46, 46, 45, 40, 40, 45, 40, 44, 48, 49, 55, 52, 56, 60, 65, 57, 64, 70, 72, 69, 70, 68, 64, 64, 67, 69, 67, 72, 71, 75, 80, 73, 79, 89, 84, 88, 94, 100, 94, 84, 96, 116, 117, 106, 116, 107, 106 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MAPLE
f:= proc(n) option remember;
procname(n-procname(floor(n/2)))+procname(n-procname(floor(n/4)))
end proc:
f(0):= 1;
map(f, [$0..100]); # Robert Israel, Dec 02 2019
MATHEMATICA
a[n_] := a[n] = a[n - a[Floor[n/2]]] + a[n - a[Floor[n/4]]]; a[0] = 1; Table[a[n], {n, 0, 75}]
CROSSREFS
Sequence in context: A357259 A166250 A174088 * A208323 A067284 A353272
KEYWORD
nonn,look
AUTHOR
Ilya Gutkovskiy, May 13 2018
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 29 20:30 EDT 2024. Contains 372114 sequences. (Running on oeis4.)