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

A182006
Lengths of periods of iterations described in A182005 for terms of A182005.
1
2, 3, 2, 2, 3, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 3, 3, 3, 2, 3, 2, 2, 3, 2, 2, 2, 4, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 3, 3, 2, 2, 2, 3, 2, 2, 2, 2, 2, 3, 3, 3, 2, 2, 2, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 2, 2, 2, 3, 2, 3, 3, 2, 2, 3, 2, 2, 2, 2, 3, 2, 2, 2, 3, 2, 3
OFFSET
1,1
COMMENTS
Period of length 4 occurs for terms of A182005 equaled 91, 405, 659, 873, 1335, 1723, 1751,... For example, for 91 we have period {52, 50, 60, 54}. Up to now, periods of lengths 5 or 6 were not found.
MATHEMATICA
period[seq_] := (If[Last[#1] == {} || Length[#1] == Length[seq] -1, 0, Length[#1]]&)[NestWhileList[Rest, Rest[seq], #1 != Take[seq, Length[#1]]&, 1]]; {A182005, A182006} = Transpose[Select[Table[{n, period[Take[Module[{p}, Flatten[{p=Apply[Plus, IntegerDigits[2^#, 3]], Table[p=Apply[Plus, IntegerDigits[2^#+p, 3]], {40}]}&[n]]], -20]]}, {n, 1, 500}], #[[2]] =!= 1&]]
CROSSREFS
Cf. A182005.
Sequence in context: A166497 A116909 A333853 * A085239 A374369 A242872
KEYWORD
nonn,base
AUTHOR
STATUS
approved