login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A138966
a(n) = n + (smallest composite > n).
0
5, 6, 7, 10, 11, 14, 15, 17, 19, 22, 23, 26, 27, 29, 31, 34, 35, 38, 39, 41, 43, 46, 47, 49, 51, 53, 55, 58, 59, 62, 63, 65, 67, 69, 71, 74, 75, 77, 79, 82, 83, 86, 87, 89, 91, 94, 95, 97, 99, 101, 103, 106, 107, 109, 111, 113, 115, 118, 119, 122, 123, 125, 127, 129, 131
OFFSET
1,1
COMMENTS
1 <= a(n+1) - a(n) <= 3.
FORMULA
a(n) = n + A113646(n+1). - Michel Marcus, Oct 13 2013
EXAMPLE
a(1)=1+4, a(2)=2+4, a(3)=3+4, a(4)=4+6, a(5)=5+6, a(6)=6+8.
CROSSREFS
Sequence in context: A123123 A308892 A092858 * A184804 A257604 A177089
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 04 2008
STATUS
approved