There is a huge difference between ranges (like your "a") and vectors). Unfortunately they look the very same in Prime when displayed.
Your problem stems from an "illegal" use of a range variable.
Ranges should be used to
1) index the elements of vectors and matrices
2) make for-loops in programs
3) define the abscissa values in a 2D-plot
but not for anything else.
Actually a range is not a data type consisting of a couple of values like a vector but rather kind of an implicit loop.
What you created when you typed f(a)= looks pretty much like an ordinary vector, but actually its not a vector and its also not a range - its an invalid object. You can't even assign it to a variable - you get an error if you try so:
Its fine and OK to use your range "a" for plotting

For other things you rather should create and work with true vectors as shown and explained below:

Prime 10 sheet attached
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


