login
A069114
Squarefree part of prime(n)-1 : the smallest number such that a(n)*(prime(n)-1) is a square.
2
1, 2, 1, 6, 10, 3, 1, 2, 22, 7, 30, 1, 10, 42, 46, 13, 58, 15, 66, 70, 2, 78, 82, 22, 6, 1, 102, 106, 3, 7, 14, 130, 34, 138, 37, 6, 39, 2, 166, 43, 178, 5, 190, 3, 1, 22, 210, 222, 226, 57, 58, 238, 15, 10, 1, 262, 67, 30, 69, 70, 282, 73, 34, 310, 78, 79, 330, 21, 346, 87
OFFSET
1,2
LINKS
FORMULA
a(n) = A007913(A006093(n)). - Amiram Eldar, Sep 03 2020
MATHEMATICA
core[n_] := Times @@ (First[#]^Mod[Last[#], 2]& /@ FactorInteger[n]); core /@ (Select[Range[350], PrimeQ] - 1) (* Amiram Eldar, Sep 03 2020 *)
PROG
(PARI) for(n=1, 100, print1(core(prime(n)-1), ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Apr 06 2002
STATUS
approved