The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A079361 Primes in the sequence of sums of alternating powers of 2. 2
5, 7, 19, 43, 379, 1531, 3067, 24571, 98299, 100663291, 6442450939, 51539607547, 844424930131963, 13510798882111483, 55340232221128654843 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Sum of reciprocals = 0.4224131591021966740339033736..
Primes in A079360. - R. J. Mathar, Dec 03 2014
LINKS
PROG
(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); }
CROSSREFS
Cf. A079360.
Sequence in context: A084198 A036061 A288608 * A162268 A045447 A337439
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Feb 15 2003
EXTENSIONS
Offset changed by Georg Fischer, Sep 02 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 22:55 EDT 2024. Contains 373227 sequences. (Running on oeis4.)