login
A141654
Positive integers not of the form (n-p(n+3)+p(n+1))/(p(n+2)-p(n)), where p(i) is the i-th prime.
0
2, 4, 14, 16, 20, 22, 26, 29, 31, 33, 35, 36, 37, 39, 43, 46, 49, 52, 55, 56, 59, 65, 68, 69, 71, 73, 74, 78, 79, 80, 83, 90, 93, 99, 100, 107, 109, 110, 113, 114, 121, 124, 125, 126, 131, 132, 135, 143, 145, 148, 153, 155, 164, 168, 171, 179, 182, 184, 185, 195, 196, 197
OFFSET
1,1
EXAMPLE
There exists no positive integer, j, such that 2 = (j-p(j+3)+p(j+1)/(p(j+2)-p(j))).
MATHEMATICA
f[n_] := (n - Prime[n + 3] + Prime[n + 1])/(Prime[n + 2] - Prime[n]); lst = {}; Do[ k = f@n; If[k < 10000 && IntegerQ@ k; lst = Union@ lst], {n, 10^7}]; Complement[Range@200, Take[lst, 200]]; (* Robert G. Wilson v *)
CROSSREFS
Sequence in context: A151872 A087420 A194388 * A173338 A054600 A077570
KEYWORD
nonn,less
EXTENSIONS
Definition corrected by Charles R Greathouse IV, Mar 26 2010
STATUS
approved