The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A161843 a(n) = n-th composite plus n-th nonprime. 0
4, 7, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 47, 50, 52, 54, 57, 60, 63, 66, 68, 70, 73, 75, 78, 81, 84, 87, 90, 93, 95, 98, 100, 102, 105, 107, 110, 112, 114, 117, 120, 123, 126, 128, 130, 133, 135, 138, 141, 144, 147, 150, 152, 154, 157, 159, 162, 165, 167 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A002808(n) + A141468(n).
EXAMPLE
4(=4+0), 7(=6+1), 12(=8+4), 15(=9+6), 18(=10+8), 21(=12+9), etc.
MATHEMATICA
Module[{comps=Select[Range[100], CompositeQ]}, Total/@Thread[{Join[ {0, 1}, Most[ Most[comps]]], comps}]] (* Harvey P. Dale, Aug 11 2014 *)
CROSSREFS
Sequence in context: A244590 A310770 A268816 * A085048 A024813 A276880
KEYWORD
nonn
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, May 21 2010
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 14:45 EDT 2024. Contains 372698 sequences. (Running on oeis4.)