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.

A255816 Number of primes in A065381 less than 10^n.

This page as a plain text file.
%I A255816 #32 Jul 19 2025 10:12:40
%S A255816 1,1,16,130,1246,11577,102613,931944,8573235,78557819,723625420,
%T A255816 6738938504
%N A255816 Number of primes in A065381 less than 10^n.
%o A255816 (PARI) isA065381(p) = if(p == 2, 1, my(pow = 1); while(pow < p && !isprime(p - pow), pow *= 2); pow > p);
%o A255816 list(len) = {my(pow = 10, c = 0); forprime(p = 1, 10^len, if(p > pow, print1(c, ", "); pow *= 10); if(isA065381(p), c++));} \\ _Amiram Eldar_, Jul 19 2025
%Y A255816 Cf. A065381, A254248, A255971, A256164, A256238.
%K A255816 nonn,more
%O A255816 1,3
%A A255816 _Arkadiusz Wesolowski_, Mar 24 2015
%E A255816 a(10)-a(12) from _Amiram Eldar_, Jul 19 2025