A245024 Even numbers n for which lpf(n-1) < lpf(n-3), where lpf = least prime factor.
10, 16, 22, 26, 28, 34, 40, 46, 50, 52, 56, 58, 64, 70, 76, 82, 86, 88, 92, 94, 100, 106, 112, 116, 118, 124, 130, 134, 136, 142, 146, 148, 154, 160, 166, 170, 172, 176, 178, 184, 190, 196, 202, 206, 208, 214, 220, 226, 232, 236, 238, 244, 250, 254, 256, 260
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..10000
Programs
-
Maple
lpf:= n -> min(numtheory:-factorset(n)): select(n -> lpf(n-1) < lpf(n-3),[seq(2*k,k=3..1000)]); # Robert Israel, Jul 15 2014
-
Mathematica
lpf[n_] := FactorInteger[n][[1, 1]]; Reap[For[n = 6, n <= 300, n += 2, If[lpf[n-1] < lpf[n-3], Sow[n]]]][[2, 1]] (* Jean-François Alcover, Feb 25 2019 *)
Extensions
More terms from Peter J. C. Moses, Jul 10 2014
Comments