OFFSET
1,4
COMMENTS
See A271227 for details and the conjecture for a(n) if prime(n) == 1 (mod 3).
a(n) is negative for the 1 (mod 3) primes 7, 13, 19, 31, 37, 43, 97, 103, 109, 127, 151, 157, 163, 193, 223, 229, 241, 271, 277, 307, 313, 331, ... and positive for the primes 61, 67, 73, 79, 139, 181, 199, 211, 283, 337, 349, ... See A271227 for a comment on the conjectured three types I, II, and III of 1 (mod 3) primes. All three types appear for primes with negative as well as positive a(n) values.
REFERENCES
J. H. Silverman, A Friendly Introduction to Number Theory, 3rd ed., Pearson Education, Inc, 2006, Table 45.5, Theorem 45.2, p. 400, Exercise 45.3, p. 404, p. 408 (4th ed., Pearson 2014, Table 5, Theorem 2, p. 366, Exercise 3, p. 370, p. 376)
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
n = 4, prime(4) = 7, A271227(4) = 12 (see the example in A271227 for the solutions), a(4) = 7 - 12 = -5. Prime 7 is of type II.
n = 25, prime(25) = 97, A271227(25) = 102, a(25) = -5. Prime 97 is of type III.
n = 29, prime(29) = 109, A271227(29) = 111, a(29) = -2. Prime 109 is of type I.
n = 18, prime(18) = 61, A271227(18) = 48, a(18) = +13. Prime 61 is of type II.
n = 19, prime(19) = 67, A271227(19) = 62, a(19) = +5. Prime 67 is of type III.
n = 21, prime(21) = 73, A271227(21) = 63, a(21) = +10. Prime 73 is of type I.
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Wolfdieter Lang, Apr 21 2016
STATUS
approved