Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A079361
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A079361 Primes in the sequence of sums of alternating powers of 2. +0
2
5, 7, 19, 43, 379, 1531, 3067, 24571, 98299, 100663291, 6442450939, 51539607547, 844424930131963, 13510798882111483, 55340232221128654843 (list; graph; listen)
OFFSET

2,1

COMMENT

Sum or reciprocals = 0.4224131591021966740339033736..

PROGRAM

(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

Sequence in context: A073652 A106987 A084198 this_sequence A045447 A096636 A101588

Adjacent sequences: A079358 A079359 A079360 this_sequence A079362 A079363 A079364

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard (hillcino368(AT)gmail.com), Feb 15 2003

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified September 7 23:08 EDT 2008. Contains 143486 sequences.


AT&T Labs Research