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!)
A066984 a(n) = gcd(prime(n+1) - 1, prime(n) + 1). 1
1, 4, 6, 2, 12, 2, 18, 2, 4, 30, 4, 2, 42, 2, 4, 2, 60, 2, 2, 72, 2, 2, 4, 6, 2, 102, 2, 108, 2, 6, 2, 4, 138, 4, 150, 4, 2, 2, 4, 2, 180, 2, 192, 2, 198, 10, 2, 2, 228, 2, 2, 240, 2, 4, 2, 4, 270, 4, 2, 282, 4, 6, 2, 312, 2, 6, 4, 2, 348, 2, 2, 6, 4, 2, 2, 4, 6, 2, 6, 2, 420, 2, 432, 2, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
GCD[#[[1]]+1, #[[2]]-1]&/@Partition[Prime[Range[90]], 2, 1] (* Harvey P. Dale, May 16 2021 *)
PROG
(PARI) { for (n=1, 1000, write("b066984.txt", n, " ", gcd(prime(n+1) - 1, prime(n) + 1)) ) } \\ Harry J. Smith, Apr 15 2010
CROSSREFS
Sequence in context: A366952 A256508 A059030 * A364724 A241341 A085595
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Jan 27 2002
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)