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”).
%I #2 Mar 30 2012 17:31:02
%S 1,2,10,22,46,76,148,232,352,487,727,991,1279,1643,2035,2455,3095,
%T 3775,4495,5350,6250,7195,8515,9895,11335,12835,14551,16333,18181,
%U 20095,22255,24487,26791,29167,32261,35446,38722,42089,45813,49635,53555
%N Index k in A095773 where a string of n identical values occurs.
%t a[1] = 1; a[n_] := a[n] = 1 + a[n - a[a[a[n - 1]]]]; f[n_] := Block[{k = 1}, While[a[k] != a[k + n - 1] || a[k] == a[k + n], k++ ]; k]; Table[ f[n], {n, 42}]
%Y Cf. A095773.
%K nonn
%O 1,2
%A _Robert G. Wilson v_, Jun 19 2004