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!)
A371098 a(n) = gcd(2n+1, A276086(2n+1)), where A276086 is the primorial base exp-function. 2

%I #8 Mar 10 2024 20:04:34

%S 1,3,1,1,3,1,1,15,1,1,3,1,25,3,1,1,3,7,1,3,1,1,15,1,7,3,1,5,3,1,1,21,

%T 1,1,3,1,1,75,7,1,3,1,5,3,1,7,3,1,1,3,1,1,105,1,1,3,1,5,3,7,1,3,1,1,3,

%U 1,7,15,1,1,3,1,5,147,1,1,3,1,1,3,7,1,15,1,1,3,1,175,3,1,1,3,1,1,21,1,1,15,1,1,3

%N a(n) = gcd(2n+1, A276086(2n+1)), where A276086 is the primorial base exp-function.

%H Antti Karttunen, <a href="/A371098/b371098.txt">Table of n, a(n) for n = 0..16384</a>

%H <a href="/index/Pri#primorialbase">Index entries for sequences related to primorial base</a>

%F a(n) = gcd(2n+1, A276086(2n+1)) = gcd(2n+1, A276086(2n)).

%F a(n) = A324198(2n+1).

%t f[x_] := Block[{m, i, n = x, p}, m = i = 1; While[n > 0, p = Prime[i]; m *= p^Mod[n, p]; n = Quotient[n, p]; i++]; m]; Array[GCD[2 # + 1, f[2 #]] &, 120, 0] (* _Michael De Vlieger_, Mar 10 2024 *)

%o (PARI)

%o A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };

%o A371098(n) = gcd(n+n+1, A276086(n+n));

%Y Odd bisection of A324198.

%Y Cf. A276086.

%K nonn

%O 0,2

%A _Antti Karttunen_, Mar 10 2024

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 August 15 12:41 EDT 2024. Contains 375173 sequences. (Running on oeis4.)