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!)
A084310 a(n) = gcd(prime(n)+1, n). 5
1, 2, 3, 4, 1, 2, 1, 4, 3, 10, 1, 2, 1, 2, 3, 2, 1, 2, 1, 4, 1, 2, 1, 6, 1, 2, 1, 4, 1, 6, 1, 4, 3, 2, 5, 4, 1, 2, 3, 2, 1, 14, 1, 2, 9, 2, 1, 16, 1, 10, 3, 4, 1, 18, 1, 8, 3, 2, 1, 6, 1, 2, 7, 8, 1, 6, 1, 2, 3, 70, 1, 72, 1, 2, 5, 4, 1, 2, 1, 10, 3, 2, 1, 14, 5, 2, 3, 2, 1, 2, 13, 4, 1, 2, 5, 24, 1, 2, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MAPLE
A084310:= n-> igcd(ithprime(n)+1, n): seq(A084310(n), n=1..150); # Wesley Ivan Hurt, Jan 27 2017
MATHEMATICA
Table[GCD[Prime[w]+1, w], {w, 128}]
PROG
(PARI) a(n) = gcd(prime(n)+1, n); \\ Michel Marcus, Jan 27 2017
CROSSREFS
Sequence in context: A298160 A118310 A073057 * A214063 A078978 A322424
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Jun 13 2003
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 24 14:18 EDT 2024. Contains 371960 sequences. (Running on oeis4.)