A function is defined recursively by and
for all integers What is ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
f ( 1 ) = 1 \ f ( 2 ) = 1 f ( 3 ) = 3 f ( 4 ) = 6 f ( 5 ) = 8 f ( 6 ) = 8 f ( 7 ) = 7 \ f ( 8 ) = 7 f ( 9 ) = 9 f ( 1 0 ) = 1 2 f ( 1 1 ) = 1 4 f ( 1 2 ) = 1 4 f ( 1 3 ) = 1 3 \ f ( 1 4 ) = 1 3
Note that f ( 6 k + 2 ) = ( 6 k + 2 ) − 1 (as in g r e e n ) and
2 0 1 8 = 6 ⋅ k + 2 (where k is equal to 3 3 6 )
So, f ( 2 0 1 8 ) = 2 0 1 8 − 1 = 2 0 1 7