|
| |
|
|
A166160
|
|
(nth odd prime + n-th odd nonprime)/2-1.
|
|
1
| |
|
|
1, 6, 10, 15, 18, 21, 25, 28, 33, 37, 42, 45, 48, 51, 57, 61, 64, 70, 73, 76, 81, 84, 89, 94, 97, 100, 105, 109, 113, 121, 124, 128, 130, 136, 139, 144, 148, 153, 157, 161, 163, 171, 173, 177, 179, 187, 195, 198, 201, 204, 210, 212, 218, 222, 228, 234, 236, 240, 243
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,2
|
|
|
COMMENTS
| Or, a(n)=A005097(n)+A047845(n), where A005097 U A047845 = A001477.
|
|
|
EXAMPLE
| a(n)=(A065091(n)+A014076(n))/2-1
|
|
|
MAPLE
| Contribution from R. J. Mathar (mathar(AT)strw.leidenunvi.nl), May 21 2010: (Start)
A065091 := proc(n) ithprime(n+1) ; end proc:
A014076 := proc(n) if n = 1 then 1; else for a from procname(n-1)+2 by 2 do if not isprime(a) then return a ; end if; end do: end if; end proc:
A166160 := proc(n) (A065091(n)+A014076(n))/2-1 ; end proc: seq(A166160(n), n=1..120) ; (End)
|
|
|
CROSSREFS
| Cf. A001477, A005097, A014076, A047845, A065091.
Sequence in context: A151972 A151975 A094564 * A162731 A145286 A006987
Adjacent sequences: A166157 A166158 A166159 * A166161 A166162 A166163
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Oct 09 2009
|
|
|
EXTENSIONS
| Entries checked by R. J. Mathar (mathar(AT)strw.leidenunvi.nl), May 21 2010
|
| |
|
|