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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A135679 a(n) = n if n = 1 or if n is prime. Otherwise, a(n) = 2 if n is even and a(n) = 3 if n is odd. 5
1, 2, 3, 2, 5, 2, 7, 2, 3, 2, 11, 2, 13, 2, 3, 2, 17, 2, 19, 2, 3, 2, 23, 2, 3, 2, 3, 2, 29, 2, 31, 2, 3, 2, 3, 2, 37, 2, 3, 2, 41, 2, 43, 2, 3, 2, 47, 2, 3, 2, 3, 2, 53, 2, 3, 2, 3, 2, 59, 2, 61, 2, 3, 2, 3, 2, 67, 2, 3, 2, 71, 2, 73 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

The average value of a(n) is 2.5 + O(1/log n). [Charles R Greathouse IV, Sep 03 2011]

CROSSREFS

Sequence in context: A072591 A085308 A086286 * A092028 A020639 A092067

Adjacent sequences:  A135676 A135677 A135678 * A135680 A135681 A135682

KEYWORD

nonn,easy

AUTHOR

Mohammad K. Azarian (azarian(AT)evansville.edu), Dec 01 2007

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

Content is available under The OEIS End-User License Agreement .

Last modified February 17 17:51 EST 2012. Contains 206061 sequences.