OFFSET
1,2
EXAMPLE
a(1)=0 (3>no>2); a(2)=3 (5<6&12&18<23); a(3)=3 (7<12718&30<37); a(4)=4 (11<12&18&30&42<47); a(5)=3 (13<18&30&42<53); a(6)=4 (17<18&30&42&60<67).
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 06 2009
EXTENSIONS
All numbers from a(49) onwards corrected and sequence extended beyond a(59) by R. J. Mathar, May 30 2010
STATUS
approved