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!)
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
COMMENTS
a(n)=1 only for some powers of 2.
LINKS
FORMULA
a(n) = A025475(n)-prevprime(A025475(n)) = A025475(n)-A049711(A025475(n)).
EXAMPLE
78125=5^7 follows 78121, the difference is 4.
CROSSREFS
Sequence in context: A208083 A181515 A183045 * A079528 A143422 A071438
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 17 04:14 EDT 2024. Contains 371756 sequences. (Running on oeis4.)