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.

A079361 Primes in the sequence of sums of alternating powers of 2.

This page as a plain text file.
%I A079361 #23 Jul 06 2024 04:47:01
%S A079361 5,7,19,43,379,1531,3067,24571,98299,100663291,6442450939,51539607547,
%T A079361 844424930131963,13510798882111483,55340232221128654843,
%U A079361 1947111321950560360698936123457531,133804471191183738849214309635890169035882491
%N A079361 Primes in the sequence of sums of alternating powers of 2.
%C A079361 Sum of reciprocals = 0.4224131591021966740339033736...
%C A079361 Primes in A079360. - _R. J. Mathar_, Dec 03 2014
%H A079361 Amiram Eldar, <a href="/A079361/b079361.txt">Table of n, a(n) for n = 1..29</a>
%o A079361 (PARI) /* Primes in the sequence of sums of alternating powers of 2 */ pseq(n) = { j=a=1; p=2; sr=0; while(j<=n, a = a + 2^(p); if(isprime(a),print1(a" "); sr+=1.0/a; ); a = a+2^(p-1); if(isprime(a),print1(a" "); sr+=1.0/a; ); p+=1; j+=2; ); print(); print(sr); }
%Y A079361 Cf. A079360.
%K A079361 nonn
%O A079361 1,1
%A A079361 _Cino Hilliard_, Feb 15 2003
%E A079361 Offset changed by _Georg Fischer_, Sep 02 2022
%E A079361 a(16)-a(17) from _Amiram Eldar_, Jul 06 2024