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

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A060847 Difference between a nontrivial prime power (A025475) and the previous prime. 0
 1, 1, 2, 3, 2, 4, 1, 2, 3, 2, 8, 12, 1, 2, 2, 5, 6, 6, 2, 3, 6, 6, 2, 2, 8, 3, 4, 2, 12, 2, 9, 8, 18, 2, 2, 6, 4, 12, 2, 3, 6, 4, 2, 6, 12, 8, 2, 6, 2, 1, 6, 8, 2, 2, 14, 4, 6, 2, 6, 2, 3, 20, 2, 12, 2, 2, 8, 14, 10, 18, 8, 6, 2, 2, 2, 12, 12, 19, 2, 6, 6, 20, 2, 2, 2, 8, 8, 2, 2, 8, 20, 12, 15, 2, 4 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,3 LINKS FORMULA a(n)=A025475(n)-prevprime[A025475(n)]=A025475(n)-A049711[A025475(n)] EXAMPLE 78125=5^7 follows 78121, the difference is 4. a(n)=1 only for some powers of 2. CROSSREFS Cf. A025475, A000961, A001597, A001694, A007917, A007918, A013632, A013633, A049711. Sequence in context: A208083 A181515 A183045 * A079528 A143422 A071438 Adjacent sequences:  A060844 A060845 A060846 * A060848 A060849 A060850 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified January 27 08:31 EST 2020. Contains 331293 sequences. (Running on oeis4.)