login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A067149
Indices of records of A067148.
2
1, 2, 5, 11, 23, 53, 293, 24773, 422573, 86203853
OFFSET
1,2
COMMENTS
For the known terms, A067148(a(n))=n+1, a(n) is odd for n>2 and a(n)==2 (mod 3) for n>1. Do these trends continue?
MATHEMATICA
a[ n_ ] := Module[ {}, If[ n==2, Return[ 1 ] ]; For[ f0=3; f1=2; f2=1; c=0, f0<=n, f0=(f2=f1)+(f1=f0), If[ Mod[ n-f0, f2 ]==0, c++ ] ]; c ]; For[ n=1; max=-1, True, n++, If[ a[ n ]>max, Print[ n ]; max=a[ n ] ] ]
CROSSREFS
Cf. A067148.
Sequence in context: A274489 A192415 A201779 * A354150 A344782 A191240
KEYWORD
nonn,more
AUTHOR
John W. Layman, Jan 04 2002
EXTENSIONS
Last term from Dean Hickerson, Jan 12 2002
STATUS
approved