Im trying to define a function using the output from RSolve, however i cant get it to work properly.
I have a RSolve that output something like:
BK[n] -> 2n + 5
and now i would like to define a function that has that property like:
BK[n_] := 2n + 5
so that when i do for instance:
i'll get 13. Is there a way to use this rule and define it as a function as proposed above? Note that the rule is far more complicated than what i gave as an example so that's why i dont want to simply copy the output as it is.