Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112804
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A112804 Primes such that the sum of the predecessor and successor primes is divisible by 19. +0
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; listen)
OFFSET

1,1

COMMENT

There is a trivial analog for every prime >= 3. A112681 is analogous mod 3. A112731 is analogous mod 7. A112789 is analogous mod 11.

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

Cf. A000040, A112681, A112794, A112731, A112789, A112795, A112796, A112804, A112847, A112859, A113155, A113156, A113157, A113158.

Sequence in context: A043254 A044034 A142152 this_sequence A134573 A106869 A147092

Adjacent sequences: A112801 A112802 A112803 this_sequence A112805 A112806 A112807

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post (jvospost3(AT)gmail.com), Jan 01 2006

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(at)rgwv.com), Jan 05 2006

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 24 14:21 EST 2009. Contains 167438 sequences.


AT&T Labs Research