perseveration vs recursion

perseveration

noun
  • The tendency to continue or repeat an act or activity after the cessation of the original stimulus. 

  • The act or an instance of persevering; perseverance. 

  • Uncontrollable repetition of a particular response, such as a word, phrase, or gesture, despite the absence or cessation of a stimulus, usually caused by brain injury or other organic disorder. 

  • Argument by repetition; a mantra. 

recursion

noun
  • The act of recurring. 

  • The act of defining an object (usually a function) in terms of that object itself. 

  • The invocation of a procedure from within itself. 

How often have the words perseveration and recursion occurred in a corpus of books? (source: Google Ngram Viewer )