login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A163750 a(n) = (n-th even nonprime mod n-th prime). 1
0, 1, 1, 1, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,5

LINKS

G. C. Greubel, Table of n, a(n) for n = 1..5000

FORMULA

a(n) = (A163300(n) mod A000040(n)).

MAPLE

A163300 := proc(n) if n = 1 then 0; else for a from procname(n-1)+2 by 2 do if not isprime(a) then return(a) ; end if; end do: end if; end proc: A163750 := proc(n) A163300(n) mod ithprime(n) ; end proc: seq(A163750(n), n=1..120) ; # R. J. Mathar, Oct 10 2009

MATHEMATICA

A087156[n_] := Mod[n, DivisorSigma[1, n]]; Table[Mod[2*A087156[n], Prime[n]], {n, 1, 50}] (* G. C. Greubel, Aug 02 2017 *)

CROSSREFS

Cf. A000040, A163300.

Sequence in context: A050769 A330724 A088381 * A167153 A298298 A247393

Adjacent sequences:  A163747 A163748 A163749 * A163751 A163752 A163753

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Aug 03 2009

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 July 24 23:25 EDT 2021. Contains 346273 sequences. (Running on oeis4.)