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”).

A087814
Sequence gives A087655(n) for those n such that A087655(n) = A087655(n+1).
0
1, 1, 13, 15, 25, 39, 47, 51, 69, 81, 101, 139, 249, 261, 275, 291, 739, 1243, 2243
OFFSET
0,3
MATHEMATICA
Hofstadter123[n_Integer?Positive] := Hofstadter123[n] = Hofstadter123[Abs[n - Hofstadter123[n-1]]] + Hofstadter123[Abs[n - Hofstadter123[n-2]]]+ Hofstadter123[Abs[n - Hofstadter123[n-3]]] Hofstadter123[0] =Hofstadter123[1] = Hofstadter123[2]= Hofstadter123[3]= 1 digits=30000 ta=Table[Hofstadter123[n], {n, 1, digits}]; b=Table[If[ta[[n]]-ta[[n-1]]==0, ta[[n]], 0], {n, 2, digits}]; c=Delete[Union[b], 1]
CROSSREFS
Cf. A087655.
Sequence in context: A109656 A367949 A178724 * A227449 A371287 A113801
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Oct 05 2003
STATUS
approved