The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A060849 Difference between 2 consecutive primes between which a nontrivial power of prime is found. 1
 2, 4, 4, 4, 6, 6, 6, 6, 6, 4, 14, 14, 4, 6, 10, 6, 10, 10, 8, 12, 18, 12, 6, 14, 14, 10, 34, 6, 24, 14, 14, 24, 24, 6, 12, 16, 16, 22, 8, 6, 10, 10, 12, 10, 18, 10, 6, 16, 8, 18, 10, 18, 6, 20, 20, 34, 18, 14, 10, 12, 30, 24, 8, 16, 14, 6, 36, 20, 12, 28, 12, 10, 12, 14, 20, 22, 22 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS Michel Marcus, Table of n, a(n) for n = 1..10000 FORMULA a(n) = nextprime(A246547(n)) - prevprime(A246547(n)) = A013633(A246547(n)). [corrected by Michel Marcus, Mar 23 2020] EXAMPLE 59049=3^10 is between 59029 and 59051, so the corresponding term is 59051-59029=22. PROG (PARI) ispp(n) = isprimepower(n) >= 2; \\ A246547 lista(nn) = {for (n=1, nn, if (ispp(n), print1(nextprime(n) - precprime(n), ", ")); ); } \\ Michel Marcus, Mar 23 2020 CROSSREFS Cf. A246547, A007917, A007918, A013632, A013633, A049711. Sequence in context: A258573 A060271 A073806 * A130819 A307097 A050829 Adjacent sequences: A060846 A060847 A060848 * A060850 A060851 A060852 KEYWORD nonn AUTHOR Labos Elemer, May 03 2001 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.

Last modified May 18 14:53 EDT 2024. Contains 372640 sequences. (Running on oeis4.)