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!)
A350074 Difference between the maximal digit in the primorial base expansion of n and the maximal exponent in the prime factorization of n. 10
1, 0, 0, 0, 1, 0, 0, -2, -1, 1, 1, 0, 1, 1, 1, -2, 1, 1, 2, 1, 2, 2, 2, 1, 2, 3, 1, 2, 3, 0, 0, -4, 0, 1, 1, -1, 0, 0, 0, -1, 1, 1, 1, 0, 0, 1, 1, -1, 1, 1, 2, 1, 2, 1, 3, 1, 3, 3, 3, 0, 1, 1, 0, -4, 1, 1, 1, 0, 1, 1, 1, -1, 1, 1, 0, 0, 1, 2, 2, -1, -1, 2, 2, 2, 3, 3, 3, 1, 3, 1, 2, 1, 2, 2, 2, -2, 2, 1, 1, 1, 2, 2, 2, 0, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,8
LINKS
FORMULA
a(n) = A328114(n) - A051903(n) = A051903(A276086(n)) - A051903(n).
PROG
(PARI)
A051903(n) = if((1==n), 0, vecmax(factor(n)[, 2]));
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
A350074(n) = (A051903(A276086(n)) - A051903(n));
CROSSREFS
Cf. A350075 (positions of negative terms), A350076 (of terms >= 0), A350070 (their characteristic function), A351038 (positions of terms <= 0), A351039 (their characteristic function).
Cf. also A351074.
Sequence in context: A323191 A257179 A259042 * A333179 A240021 A087810
KEYWORD
sign,base
AUTHOR
Antti Karttunen, Feb 01 2022
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 July 26 16:13 EDT 2024. Contains 374635 sequences. (Running on oeis4.)