login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A112804 Primes such that the sum of the predecessor and successor primes is divisible by 19. 15
59, 97, 683, 797, 821, 1049, 1307, 1579, 1709, 1787, 1913, 2029, 2143, 2161, 2281, 2339, 2393, 2437, 2557, 2659, 2791, 2851, 2887, 3389, 3413, 3533, 3557, 3643, 3779, 3853, 4177, 4241, 4447, 4507, 4583, 4957, 4973, 5119, 5641, 5813, 6043, 6133, 7069 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
There is a trivial analog for every prime >= 3. A112681 is analogous mod 3. A112731 is analogous mod 7. A112789 is analogous mod 11.
LINKS
FORMULA
a(n) = prime(i) is in this sequence iff prime(i-1)+prime(i+1) = 0 mod 19. a(n) = A000040(i) is in this sequence iff A000040(i-1)+A000040(i+1) = 0 mod 19.
EXAMPLE
a(1) = 59 because prevprime(59) + nextprime(59) = 53 + 61 = 114 = 19 * 6.
a(2) = 97 because prevprime(97) + nextprime(97) = 89 + 101 = 190 = 19 * 10.
a(3) = 683 because prevprime(683) + nextprime(683) = 677 + 691 = 1368 = 19 * 72.
a(4) = 797 because prevprime(797) + nextprime(797) = 787 + 809 = 1596 = 19 * 84.
MATHEMATICA
Prime@ Select[Range[2, 912], Mod[Prime[ # - 1] + Prime[ # + 1], 19] == 0 &] (* Robert G. Wilson v *)
CROSSREFS
Sequence in context: A043254 A044034 A142152 * A240339 A199977 A134573
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jan 01 2006
EXTENSIONS
More terms from Robert G. Wilson v, Jan 05 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)