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.

A387414 Numbers k such that the binary expansion of k is a prefix of the binary expansion of A003961(k), where A003961 is fully multiplicative with a(p) = nextprime(p).

Original entry on oeis.org

1, 4, 10, 18, 57, 348, 1054, 2626, 60625, 68727, 129260, 192276, 675348, 960320, 5368464, 12371554, 30078308, 356311953, 1158654378, 1673018314
Offset: 1

Views

Author

Antti Karttunen, Sep 01 2025

Keywords

Comments

Numbers k such that A003961(k) = 2^e * k + r, for some k >= 1, e >= 0, 0 <= r < 2^e.

Examples

			A007088(4) = 100, and A007088(A003961(4)) = A007088(9) = 1001 begins with the same binary string, therefore 4 is included.
A007088(18) = 10010, and A007088(A003961(18)) = A007088(75) = 1001011 begins with the same binary string, therefore 18 is included as a term. Also, 75 = 2^2 * 18 + 3.
		

Crossrefs

Positions of 0's in A387413.
Subsequences: A348514 (which is also a subsequence of A387411).

Programs

  • PARI
    A003961(n) = { my(f = factor(n)); for (i=1, #f~, f[i, 1] = nextprime(f[i, 1]+1)); factorback(f); };
    is_A387414(n) = { my(s=A003961(n)); while(s>n, s >>= 1); (s==n); };