OFFSET
1,4
COMMENTS
It appears that (1) a(n)=0 if and only if n is a power of 2 and (2) a(n)=n-1 if and only if n+1 is a prime. (This has been verified for the first 2000 terms.)
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
FORMULA
PROG
(Haskell)
a120444 n = a120444_list !! (n-1)
a120444_list = zipWith (-) (tail a004125_list) a004125_list
-- Reinhard Zumkeller, May 30 2015
CROSSREFS
KEYWORD
sign,easy
AUTHOR
John W. Layman, Jul 19 2006
STATUS
approved