OFFSET
1,4
EXAMPLE
For n = 33 we have 34,17,20,10,5,8,4,2,1 = 9 steps.
PROG
(PARI) countprp3(nmax) = { for(x=1, nmax, c=0; p1 = x; while(p1!=1 && p1!=3, if(p1%2==0, p1/=2, if(isprime(p1), p1+=3, p1=p1+1; )); c++; ); print1(c, ", ") )}; \\ Corrected by Andrey Zabolotskiy, May 30 2024
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Apr 12 2003
EXTENSIONS
Edited by Antti Karttunen and Jud McCranie, Jun 03 2003
STATUS
approved