OFFSET
1,3
EXAMPLE
6^8 = 1679616 = a(4),
9 = a(5),
10*12 = 120 = a(6),
etc.
MAPLE
A141468 := proc(n) if n <=2 then n-1; else for a from procname(n-1)+1 do if not isprime(a) then return a; end if; end do: end if; end proc:
A144122 := proc(nmax) local a, ifs, n, p, c ; printf("0, 1, ") ; c := 3 ; for n from 3 to nmax do ifs := ifactors(n)[2] ; a := 1; for p in ifs do if op(2, p) > 1 then a := a*A141468(c)^A141468(c+1) ; c := c+2 ; else a := a*A141468(c) ; c := c+1 ; fi; od: printf("%d, ", a) ; od: return ; end: A144122(20) ; # R. J. Mathar, Apr 28 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Nov 17 2008
EXTENSIONS
More terms from R. J. Mathar, Apr 28 2010
STATUS
approved