Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162734
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162734 An alternating sum of all numbers from the n-th up to the (n+1)st isolated prime. +0
1
11, 30, 42, 50, 60, 73, 81, 86, 93, 105, 120, 129, 144, 160, 165, 170, 192, 217, 228, 242, 254, 260, 270, 285, 300, 312, 324, 334, 345, 356, 363, 370, 376, 381, 386, 393, 399, 405, 424, 441, 446, 453, 462, 473, 483, 489, 495, 501, 506, 525, 544, 552, 560 (list; graph; listen)
OFFSET

1,1

FORMULA

a(n) = sum_{j= A007510(n).. A007510(n+1)} (-1)^(j+1)*j = A001057(A007510(n+1))-A001057(A007510(n)-1).

EXAMPLE

a(1) = -2+3-4+5-6+7-8+9-10+11-12+13-14+15-16+17-18+19-20+21-22+23 = 11.

a(2) = 23-24+25-26+27-28+29-30+31-32+33-34+35-36+37 = 30.

CROSSREFS

Cf. A007510.

Sequence in context: A027758 A057739 A146751 this_sequence A163060 A051682 A109943

Adjacent sequences: A162731 A162732 A162733 this_sequence A162735 A162736 A162737

KEYWORD

nonn,less

AUTHOR

Juri-Stepan Gerasimov (2stepan(AT)rambler.ru), Jul 13 2009

EXTENSIONS

Replaced 55 by 60 and 447 by 446 - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Sep 23 2009

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research