login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A105244 Functional substitution on {1,2,3}. 0
1, 2, 3, 3, 1, 1, 2, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 1, 1, 2, 1, 3, 1, 1, 2, 2, 1, 1, 1, 1, 3, 2, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Based on a prime digits function modulo 10, reduced here to modulo 3.

Appears to be 12-periodic for n>3.

LINKS

Table of n, a(n) for n=1..105.

FORMULA

ar={1, 2, 3} a(n)=b(m, i) = 1 + Mod[ar[[i]]*(1 + Mod[m, 3]), 3]

MATHEMATICA

ar = {1, 2, 3} f[n_] := 1 + Mod[ar*(1 + Mod[n, 3]), 3] br = NestList[f, ar, Floor[200/3]] a = Flatten[br]

CROSSREFS

Sequence in context: A005135 A290003 A139460 * A257451 A209007 A145854

Adjacent sequences:  A105241 A105242 A105243 * A105245 A105246 A105247

KEYWORD

nonn,uned

AUTHOR

Roger L. Bagula, Apr 12 2005

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 18 17:49 EST 2018. Contains 317323 sequences. (Running on oeis4.)