The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A348998 a(n) = A348928(A276086(n)), where A348928(n) = gcd(n, A003958(n)), and A003958 is multiplicative with a(p^e) = (p-1)^e, and A276086 gives the prime product form of primorial base expansion of n. 3
1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 3, 6, 3, 6, 1, 2, 3, 6, 3, 6, 1, 2, 3, 6, 3, 6, 1, 2, 3, 6, 3, 6, 1, 2, 3, 6, 3, 6, 1, 2, 3, 6, 9, 18, 1, 2, 3, 6, 9, 18, 1, 2, 3, 6, 9, 18, 1, 2, 3, 6, 9, 18, 1, 2, 3, 6, 9, 18, 1, 2, 3, 6, 9, 18, 1, 2, 3, 6, 9, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
After each primorial number (A002110), the apparent periodicity grows more complex.
LINKS
PROG
(PARI) A348998(n) = { my(m1=1, m2=1, p=2); while(n, m1 *= (p^(n%p)); m2 *= ((p-1)^(n%p)); n = n\p; p = nextprime(1+p)); gcd(m1, m2); };
CROSSREFS
Sequence in context: A167965 A270370 A167966 * A167967 A160990 A347516
KEYWORD
nonn,base,look
AUTHOR
Antti Karttunen, Nov 07 2021
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 June 6 13:49 EDT 2024. Contains 373128 sequences. (Running on oeis4.)