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

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A111397 Composite numbers (modulo 3). 1
1, 0, 2, 0, 1, 0, 2, 0, 1, 0, 2, 0, 1, 0, 1, 2, 0, 1, 0, 2, 0, 1, 2, 0, 2, 0, 1, 0, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 0, 2, 0, 1, 2, 0, 2, 0, 1, 0, 2, 0, 1, 2, 0, 2, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 2, 0, 1, 0, 2, 0, 1, 0, 2, 0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 2, 0, 2, 0, 1, 0, 1, 2, 0, 1, 0, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

If you interpret this as a base 3 number then read as a decimal it would equal

0.4124999703972179190135867434954940067125524729635148630103267345...

whose continued fraction expansion is 0,2,2,2,1,4,5278,131,4,2,2,2,2,1,24,12,1,1,7,552,1,2,1,...,.

with increasing partial quotients 2,4,5278,66292,274715,420778,625399,...

LINKS

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

FORMULA

a(n) == A002808(n) (mod 3).

MATHEMATICA

Composite[n_] := FixedPoint[n + PrimePi[ # ] + 1 &, n]; Table[ Mod[Composite[n], 3], {n, 105}]

CROSSREFS

Cf. A073867.

Sequence in context: A035177 A194591 A070105 * A131743 A147648 A113686

Adjacent sequences:  A111394 A111395 A111396 * A111398 A111399 A111400

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Nov 11 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 December 5 15:24 EST 2016. Contains 278770 sequences.