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!)
A163468 Indices k such that half of the k-th nonprime nonnegative integer is prime. 1
3, 4, 7, 9, 15, 18, 24, 27, 33, 43, 45, 54, 61, 64, 71, 80, 89, 93, 103, 109, 113, 122, 129, 139, 151, 157, 161, 168, 172, 179, 201, 208, 217, 220, 237, 241, 250, 261, 268, 279, 288, 291, 308, 311, 318, 321, 341, 361, 368, 371, 377, 388, 391, 408, 418, 428, 440 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Here k-th nonprime = A141468(k) (the k-th nonprime nonnegative integer).
LINKS
FORMULA
a(n) = 2 + A065897(n). - R. J. Mathar, Aug 01 2009
EXAMPLE
3 is a term because the 3rd nonprime nonnegative integer is 4, and 4/2 = 2 is prime.
4 is a term because the 4th nonprime nonnegative integer is 6, and 6/2 = 3 is prime.
7 is a term because the 7th nonprime nonnegative integer is 10, and 10/2 = 5 is prime.
MAPLE
A141468 := proc(n) option remember ; if n = 1 then 0; else for a from procname(n-1)+1 do if not isprime(a) then RETURN(a) ; fi; od: fi; end: for n from 1 to 600 do npr := A141468(n) ; if type(npr, 'even') then if isprime(npr/2) then printf("%d, ", n) ; fi; fi; od: # R. J. Mathar, Aug 01 2009
MATHEMATICA
Flatten[Position[Select[Range[600], !PrimeQ[#]&], _?(PrimeQ[#/2]&)]]+1 (* Harvey P. Dale, May 05 2016 *)
CROSSREFS
Sequence in context: A349795 A005896 A147953 * A069183 A119907 A241335
KEYWORD
nonn,easy,less
AUTHOR
EXTENSIONS
a(8) corrected by R. J. Mathar, Aug 01 2009
Edited by Jon E. Schoenfield, Mar 04 2019
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 April 25 12:15 EDT 2024. Contains 371969 sequences. (Running on oeis4.)