login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A323129 a(1) = 1, and for any n > 1, let p be the greatest prime factor of n, and e be its exponent, then a(n) = p^a(e). 2
1, 2, 3, 4, 5, 3, 7, 8, 9, 5, 11, 3, 13, 7, 5, 16, 17, 9, 19, 5, 7, 11, 23, 3, 25, 13, 27, 7, 29, 5, 31, 32, 11, 17, 7, 9, 37, 19, 13, 5, 41, 7, 43, 11, 5, 23, 47, 3, 49, 25, 17, 13, 53, 27, 11, 7, 19, 29, 59, 5, 61, 31, 7, 8, 13, 11, 67, 17, 23, 7, 71, 9, 73 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This sequence is a recursive variant of A053585.
All terms belong to A164336.
LINKS
FORMULA
a(n) <= n with equality iff n belongs to A164336.
a(n) = A006530(n)^a(A071178(n)) for any n > 1.
EXAMPLE
a(1458) = a(2 * 3^6) = 3^a(6) = 3^a(2*3) = 3^3 = 27.
MAPLE
f:= proc(n) option remember;
local F, t;
F:= ifactors(n)[2];
t:= F[max[index](map(t -> t[1], F))];
t[1]^procname(t[2]);
end proc:
f(1):= 1:
map(f, [$1..100]); # Robert Israel, Jan 07 2019
MATHEMATICA
Nest[Append[#, Last@ FactorInteger[Length[#] + 1] /. {p_, e_} :> p^#[[e]] ] &, {1}, 72] (* Michael De Vlieger, Jan 07 2019 *)
PROG
(PARI) a(n) = if (n==1, 1, my (f=factor(n)); f[#f~, 1]^a(f[#f~, 2]))
CROSSREFS
See A323130 for the variant involving the least prime factor.
Sequence in context: A319677 A349634 A294650 * A053585 A305007 A353667
KEYWORD
nonn,nice,look
AUTHOR
Rémy Sigrist, Jan 05 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 12 13:08 EDT 2024. Contains 372480 sequences. (Running on oeis4.)