cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A324395 a(n) = A017666(A005940(1+n)), where A005940 is the Doudna sequence and A017666(n) = n/gcd(n,sigma(n)).

This page as a plain text file.
%I A324395 #7 Mar 05 2019 18:19:36
%S A324395 1,2,3,4,5,1,9,8,7,5,5,3,25,6,27,16,11,7,21,10,35,5,15,2,49,50,75,36,
%T A324395 125,9,81,32,13,11,11,1,55,7,63,4,77,35,35,5,175,5,9,12,121,98,49,100,
%U A324395 245,25,225,24,343,125,125,27,625,54,243,64,17,13,39,11,65,11,33,7,13,55,55,3,275,21,189,40,143,77,77,5,385,35,105,1,539
%N A324395 a(n) = A017666(A005940(1+n)), where A005940 is the Doudna sequence and A017666(n) = n/gcd(n,sigma(n)).
%H A324395 Antti Karttunen, <a href="/A324395/b324395.txt">Table of n, a(n) for n = 0..16500</a>
%H A324395 Antti Karttunen, <a href="/A324395/a324395.txt">Data supplement: n, a(n) computed for n = 0..65537</a>
%H A324395 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a>
%H A324395 <a href="/index/Si#SIGMAN">Index entries for sequences related to sigma(n)</a>
%F A324395 a(n) = A017666(A005940(1+n)) = A005940(1+n) / A324394(n).
%o A324395 (PARI) A324395(n) = { my(m1=1,m2=1,p=2,mp=p*p); while(n, if(!(n%2), p=nextprime(1+p); mp = p*p, m1 *= p; if(3==(n%4),mp *= p,m2 *= (mp-1)/(p-1))); n>>=1); m1/gcd(m1,m2); };
%o A324395 (PARI)
%o A324395 A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); t }; \\ From A005940
%o A324395 A017666(n) = (n/gcd(n, sigma(n)));
%o A324395 A324395(n) = A017666(A005940(1+n));
%Y A324395 Cf. A005940, A017666, A324054, A324055, A324058, A324349, A324394.
%K A324395 nonn
%O A324395 0,2
%A A324395 _Antti Karttunen_, Mar 05 2019