OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MAPLE
with(numtheory): f := [seq( `if`((sigma(i) > sigma(i+1)), i, print( )), i=1..5000)];
seq( `if`(f[i+1] - f[i] <> 2, i, print( )), i=1..1000);
PROG
(Haskell)
import Data.List (findIndices)
a053240 n = a053240_list !! (n-1)
a053240_list = map (+ 1) $ findIndices (/= 2) a053238_list
-- Reinhard Zumkeller, Oct 16 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Asher Auel, Jan 10 2000
STATUS
approved