A118741 Primes for which the weight as defined in A117078 is 7.
67, 83, 167, 193, 251, 277, 433, 487, 503, 587, 601, 613, 727, 823, 907, 1063, 1217, 1231, 1553, 1663, 1777, 1861, 1873, 1973, 1987, 2083, 2281, 2293, 2351, 2377, 2393, 2797, 2897, 3217, 3343, 3541, 3847, 4073, 4283, 4451, 4507, 4591, 4813, 4871, 5081
Offset: 1
Keywords
Links
- Remi Eismann, Table of n, a(n) for n=1..10000
Programs
-
Mathematica
f[n_] := Block[{a, p = Prime[n], np = Prime[n + 1]}, a = Min[Select[Divisors[2*p - np], #1 > np - p & ]]; If[a == Infinity, 0, a]]; Prime@ Select[ Range@695, f@# == 7 &] (* Robert G. Wilson v, May 26 2006 *)
Formula
A117078 : a(n) = smallest k such that prime(n+1) = prime(n) + (prime(n) mod k), or 0 if no such k exists. prime(n) for which k=7.
Extensions
More terms from Robert G. Wilson v, May 26 2006
Comments