login
A177965
Indices m for which A177961(m) - m = 1.
4
1, 4, 7, 10, 16, 19, 22, 31, 34, 37, 40, 49, 52, 55, 64, 70, 76, 79, 82, 91, 97, 100, 106, 112, 115, 121, 136, 139, 142, 154, 157, 166, 169, 175, 184, 187, 190, 199, 205, 211, 217, 220, 229, 232, 244, 250, 262, 271, 274, 286, 289, 301, 304, 307, 310, 316, 322, 331, 337, 346
OFFSET
1,2
COMMENTS
1 is the smallest value of |A177961(m) - m|.
LINKS
FORMULA
a(n) = (A002476(n-1) + 1)/2, n > 1.
MAPLE
1, op(map(t -> 3*t+1, select(t -> isprime(6*t+1), [$1..1000]))); # Robert Israel, Jul 31 2015
MATHEMATICA
Position[Table[If[m == 1, 2, Mean[{FactorInteger[2 m - 1][[1, 1]], FactorInteger[2 m + 1][[1, 1]]}]] - m, {m, 346}], n_ /; n == 1] // Flatten (* Michael De Vlieger, Aug 02 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Shevelev, May 16 2010
EXTENSIONS
More terms from R. J. Mathar, Oct 25 2010
STATUS
approved