Pattern code solving

Can anyone solve this code ?

There’s a pattern there, but I’m not really sure what you’re asking?

1 Like

There’s nothing to solve because no problem has been presented. If you’re doing an assignment and would like help with it, then show us what you’ve got so far and where you’d like some help.

The middle numbers are odd numbers 1,3,5,7,9. It’s adding +1 until you reach the middle then it subtracting -1 back to the number you start with. What course is this?