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.

A364949 a(n) = gcd(A348717(n), A348717(A163511(n))).

Original entry on oeis.org

1, 2, 2, 4, 2, 6, 2, 8, 4, 2, 2, 12, 2, 2, 2, 16, 2, 18, 2, 4, 2, 2, 2, 24, 4, 2, 2, 4, 2, 2, 2, 32, 2, 2, 2, 36, 2, 2, 2, 8, 2, 6, 2, 4, 2, 2, 2, 48, 4, 10, 2, 4, 2, 2, 2, 8, 2, 2, 2, 4, 2, 2, 2, 64, 2, 6, 2, 4, 2, 10, 2, 72, 2, 2, 18, 4, 2, 2, 2, 16, 8, 2, 2, 12, 2, 2, 2, 8, 2, 6, 10, 4, 2, 2, 2, 96, 2, 2, 4, 20
Offset: 1

Views

Author

Antti Karttunen, Aug 16 2023

Keywords

Crossrefs

Programs

  • PARI
    A163511(n) = if(!n,1,my(p=2, t=1); while(n>1, if(!(n%2), (t*=p), p=nextprime(1+p)); n >>= 1); (t*p));
    A348717(n) = if(1==n, 1, my(f = factor(n), k = primepi(f[1, 1])-1); for (i=1, #f~, f[i, 1] = prime(primepi(f[i, 1])-k)); factorback(f));
    A364949(n) = gcd(A348717(n),A348717(A163511(n)));

Formula

a(n) = gcd(A348717(n), A364297(n)).
a(2*n) = A364255(2*n) = 2*A364255(n). (Edited Sep 03 2023)