Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A111397
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A111397 Composite numbers (modulo 3). +0
2
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; listen)
OFFSET

1,3

COMMENT

If you interpret this as a trinary number 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,...

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: A089734 A035177 A070105 this_sequence A131743 A113686 A039997

Adjacent sequences: A111394 A111395 A111396 this_sequence A111398 A111399 A111400

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(at)rgwv.com, Nov 11 2005

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 25 07:41 EDT 2008. Contains 142293 sequences.


AT&T Labs Research