[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
login
Revision History for A240473 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Distance from prime(n) to the closest smaller squarefree number.
(history; published version)
#10 by Ralf Stephan at Mon Apr 28 02:45:24 EDT 2014
STATUS

proposed

approved

#9 by Michel Marcus at Thu Apr 10 14:51:44 EDT 2014
STATUS

editing

proposed

#8 by Michel Marcus at Thu Apr 10 14:51:09 EDT 2014
FORMULA

a(n) = A000040(n) - A112925(n). - Michel Marcus, Apr 10 2014

STATUS

proposed

editing

#7 by Wesley Ivan Hurt at Sun Apr 06 21:18:38 EDT 2014
STATUS

editing

proposed

#6 by Wesley Ivan Hurt at Sun Apr 06 21:18:36 EDT 2014
STATUS

proposed

editing

#5 by Chris Boyd at Sun Apr 06 15:34:55 EDT 2014
STATUS

editing

proposed

#4 by Chris Boyd at Sun Apr 06 12:56:03 EDT 2014
LINKS

Chris Boyd, <a href="/A240473/b240473.txt">Table of n, a(n) for n = 1..10000</a>

#3 by Chris Boyd at Sun Apr 06 12:54:45 EDT 2014
NAME

allocated for Chris BoydDistance from prime(n) to the closest smaller squarefree number.

DATA

1, 1, 2, 1, 1, 2, 2, 2, 1, 3, 1, 2, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 2, 4, 1, 1, 2, 2, 4, 1, 3, 1, 3, 2, 2, 2, 1, 3, 1, 2, 1, 2, 2, 2, 1, 1, 1, 2, 2, 1, 2, 2, 2, 1, 2, 2, 3, 3, 1, 2, 2, 1, 2, 3, 1, 2, 1, 2, 4, 1, 1, 2, 2, 1, 3, 2, 2, 2, 1, 2, 1, 2, 1, 1

OFFSET

1,3

EXAMPLE

a(10) = 3 because 3 is the gap between prime(10) = 29 and the closest smaller squarefree number 26.

PROG

(PARI) forprime(p=1, 450, forstep(j=p-1, 1, -1, if(issquarefree(j), print1(p-j", "); break)))

KEYWORD

allocated

nonn

AUTHOR

Chris Boyd, Apr 06 2014

STATUS

approved

editing

#2 by Chris Boyd at Sun Apr 06 12:38:48 EDT 2014
KEYWORD

allocating

allocated

#1 by Chris Boyd at Sun Apr 06 12:38:48 EDT 2014
NAME

allocated for Chris Boyd

KEYWORD

allocating

STATUS

approved