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!)
A285124 Min(|d(k+1-i) - d(i)|, for i = 1..k), where d(1),..,d(k) are the divisors of prime(n) + 1. 1
2, 0, 1, 2, 1, 5, 3, 1, 2, 1, 4, 17, 1, 7, 2, 3, 4, 29, 13, 1, 35, 2, 5, 1, 7, 11, 5, 3, 1, 13, 8, 1, 17, 4, 5, 11, 77, 37, 2, 23, 3, 1, 4, 95, 7, 10, 49, 2, 7, 13, 5, 1, 11, 4, 37, 10, 3, 1, 137, 41, 67, 7, 8, 11, 155, 47, 79, 13, 17, 11, 53, 2, 7, 5, 1, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n)=A056737(A008864(n)).
EXAMPLE
prime(6) + 1 = 14 has divisors 1,2,7,14, so that k=4 and d(k+1-i) - d(i) ranges through {--13,-5,5,13}, so that a(6) = 5.
MATHEMATICA
f[n_] := f[n] = Prime[n]+1;
Table[Divisors[f[n]] - Reverse[Divisors[f[n]]], {n, 1, 10}]
Table[Min[Abs[Divisors[f[n]] - Reverse[Divisors[f[n]]]]], {n, 1, 100}]
CROSSREFS
Sequence in context: A109248 A131866 A036862 * A094238 A127793 A127771
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 11 2017
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 July 10 02:13 EDT 2024. Contains 374191 sequences. (Running on oeis4.)