login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

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

Table of n, a(n) for n=1..95.

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 | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified December 19 17:37 EST 2014. Contains 252238 sequences.