Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A144043
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A144043 Sum of the middle pair as the prime sequence unfolds +0
1
2, 3, 4, 5, 6, 8, 10, 12, 14, 18, 22, 24, 26, 30, 34, 36, 38, 42, 46 (list; graph; listen)
OFFSET

1,1

COMMENT

An exotic sequence with a tantalizing non-regularity. It is strictly nondecreasing (very easy to show). The first order differences (1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 2, 2, 4, 4, 2, 2, 4, 4, ...) are also very erratic.

EXAMPLE

2= sumtwice(1) 3= sum(1,2) 4= 1, sumtwice(2), 3 5= 1, sum(2,3), 5 6= 1, 2, sumtwice(3), 5, 7 8= 1,2, sum(3,5), 7, 11

PROGRAM

(Other) %Matlab source code clc clear all aP= [1, primes(1000)]; qN= numel(aP); kL=[]; %init empty result for nn= 1:qN %Loop to sum the central pairs auxT= ceil((nn+1)/2); auxL= ceil(nn/2); kL= [kL; aP(auxL)+aP(auxT)]; end kL %kL is the result

CROSSREFS

Sequence in context: A056864 A029032 A059809 this_sequence A121492 A078931 A003401

Adjacent sequences: A144040 A144041 A144042 this_sequence A144044 A144045 A144046

KEYWORD

easy,nonn

AUTHOR

Raul Rato (rtrato(AT)yahoo.com), Sep 08 2008

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 27 22:38 EST 2009. Contains 167602 sequences.


AT&T Labs Research