OFFSET
1,1
COMMENTS
The composite numbers in the sequences are: 9, 185, 341, 377, 437, 9005, 30413, 33953, 41009, 51533, 82673, 92909,....
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
9' = 6, 9''= 6'= 5, 9" = 9'- 1 -> 9 is in the sequence.
MAPLE
#using Michael B. Porter's code from A003415
der:=n->n*add(op(2, p)/op(1, p), p=ifactors(n)[2])
for i from 1 to n do a:=der(der(i))-der(i)+1; if a=0 then j:=j+1; B[j]:=i; end if od
PROG
(Haskell)
import Data.List (elemIndices)
a189710 n = a189710_list !! (n-1)
a189710_list = elemIndices 0 $
zipWith (-) (map a003415 a003415_list) (map pred a003415_list)
-- Reinhard Zumkeller, May 09 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Giorgio Balzarotti, Apr 25 2011
STATUS
approved