In school - I'm not a CS major, and I'm STRUGGLING with psuedocode and algorithms. Would someone please explain this question/answer from my homework?

Posted by Cognitive_Realm57@reddit | learnprogramming | View on Reddit | 32 comments

Hi all,

As stated, I'm not any kind of coding/computer major, I'm a math major, but I can't seem to wrap my head around this. They say everything is supposed to be pseudocode, which is not a specific language, but it seems pretty specific to me! This is the homework problem: Devise an algorithm that finds the first term of a sequence of positive integers that is less than the immediately proceeding term of the sequence.

I'll add the book's answer in a picture below. I would greatly appreciate if anyone would explain would explain what it means, and why you would use it in pseudocode. And how you know you need all those parts!