Lemma
MediumAlgebra word problems
AQuA-RAT train #42354 · Algebra · Algebra word problems

The function g(p) is defined for integers p such that if p…

The function g(p) is defined for integers p such that if p is even, g(p) = p/2 and if p is odd, g(p) = p + 5. Given that g(g(g(g(g(p))))) = 19, how many possible values for p would satisfy this equation?

~8 minAnswer checked instantly

AQuA-RAT — Algebra Question Answering with Rationales (Ling et al., DeepMind, 2017) · train #42354

Stuck? A gentle nudge

No hints for this one.

Something off?
Workspace
Your answer

Checked against the answer in AQuA-RAT.