login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A107582 Numbers n such that (n + prime(n)), (n+1 + prime(n+1)), (n+2 + prime(n+2)) and (n+3 + prime(n+3)) are divisible by 5. 0
6291, 6816, 9951, 11371, 13066, 13151, 14906, 16476, 17531, 17616, 18136, 18161, 18816, 20441, 21036, 22256, 27211, 27756, 28926, 31801, 32601, 33481, 36616, 37496, 38706, 39821, 40206, 41216, 41416, 41641, 41676, 41866, 42506, 43586 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..34.

MATHEMATICA

Select[Range[60000], Mod[Prime[ # ]+#, 5]+Mod[Prime[ #+1]+#+1, 5]+Mod[Prime[ #+2]+#+2, 5]+Mod[Prime[ #+3]+#+3, 5]==0&]

SequencePosition[Table[If[Divisible[n+Prime[n], 5], 1, 0], {n, 50000}], {1, 1, 1, 1}][[All, 1]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, May 12 2018 *)

CROSSREFS

Sequence in context: A035904 A071091 A209826 * A213869 A189344 A054560

Adjacent sequences:  A107579 A107580 A107581 * A107583 A107584 A107585

KEYWORD

easy,nonn

AUTHOR

Zak Seidov, Jun 10 2005

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 13 00:25 EST 2019. Contains 329083 sequences. (Running on oeis4.)