OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
powQ[n_] := n == 1 || AllTrue[FactorInteger[n][[;; , 2]], # > 1 &]; Select[Range[1400], SquareFreeQ[#] && powQ[# - 1] &] (* Amiram Eldar, Jul 31 2022 *)
PROG
(Haskell)
a078325 n = a078325_list !! (n-1)
a078325_list = filter ((== 1) . a008966) a224866_list
-- Reinhard Zumkeller, Jul 23 2013
(PARI) is(n) = n>1 && issquarefree(n) && ispowerful(n-1); \\ Amiram Eldar, Jul 31 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Nov 23 2002
STATUS
approved