|
|
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
|
|
|
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
|
|
|
KEYWORD
|
nonn,easy,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|