[go: up one dir, main page]

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!)
Revision History for A277729 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A277729 Irregular triangle read by rows: T(n,k) = number of times a gap of k occurs between the first n successive primes.
(history; published version)
#14 by Bruno Berselli at Thu Nov 17 05:19:25 EST 2016
STATUS

reviewed

approved

#13 by Joerg Arndt at Thu Nov 17 04:58:59 EST 2016
STATUS

proposed

reviewed

#12 by Robert Israel at Wed Nov 16 18:30:56 EST 2016
STATUS

editing

proposed

#11 by Robert Israel at Wed Nov 16 18:30:49 EST 2016
LINKS

Robert Israel, <a href="/A277729/b277729.txt">Table of n, a(n) for n = 2..10032</a>> (rows 2 to 410, flattened)

#10 by Robert Israel at Wed Nov 16 18:30:05 EST 2016
COMMENTS

Needs a b-file.

LINKS

Robert Israel, <a href="/A277729/b277729.txt">Table of n, a(n) for n = 2..10032</a>

MAPLE

N:= 30: # for rows 2 to N

res:= 1; p:= 3; R:= <1>;

for n from 2 to N do

pp:= nextprime(p);

d:= pp - p;

p:= pp;

if d <= LinearAlgebra:-Dimension(R) then

R[d]:= R[d]+1

else

R(d):= 1

fi;

res:= res, op(convert(R, list));

od:

res; # Robert Israel, Nov 16 2016

STATUS

approved

editing

#9 by N. J. A. Sloane at Sun Nov 06 08:35:55 EST 2016
STATUS

editing

approved

#8 by N. J. A. Sloane at Sun Nov 06 08:35:52 EST 2016
COMMENTS

Needs a b-file.

EXAMPLE

1, 3, 0, 1, <- gaps in 2,3,5,7,11,13 are 1, 2 (3 times), 4 (once)

STATUS

approved

editing

#7 by N. J. A. Sloane at Sun Nov 06 08:32:21 EST 2016
STATUS

editing

approved

#6 by N. J. A. Sloane at Sun Nov 06 08:32:17 EST 2016
EXAMPLE

1, 6, 0, 4, 0, 2,1, 6, 0, 5, 0, 2,1, 6, 0, 5, 0, 3,1, 6, 0, 5, 0, 4,1, 7, 0, 5, 0, 4,1, 7, 0, 5, 0, 5,1, 7, 0, 6, 0, 5,1, 8, 0, 6, 0, 5,1, 8, 0, 6, 0, 6,1, 8, 0, 7, 0, 6,1, 8, 0, 7, 0, 7,

1, 6, 0, 4, 0, 2,

1, 6, 0, 5, 0, 2,

1, 6, 0, 5, 0, 3,

1, 6, 0, 5, 0, 4,

1, 7, 0, 5, 0, 4,

1, 7, 0, 5, 0, 5,

1, 7, 0, 6, 0, 5,

1, 8, 0, 6, 0, 5,

STATUS

approved

editing

#5 by N. J. A. Sloane at Sun Nov 06 08:31:26 EST 2016
STATUS

editing

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 August 30 10:20 EDT 2024. Contains 375542 sequences. (Running on oeis4.)