

A137847


Smallest number missing in the EKG sequence (A064413) after n terms.


1



2, 3, 3, 3, 5, 5, 5, 5, 5, 7, 7, 7, 7, 11, 11, 11, 11, 11, 11, 13, 13, 13, 13, 13, 13, 13, 13, 17, 17, 17, 17, 17, 19, 19, 19, 19, 23, 23, 23, 23, 23, 23, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 31, 31, 31, 31, 37, 37, 37, 37, 37, 37, 41, 41, 41, 41, 41, 41, 41, 43
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,1


COMMENTS

Lengths of runs gives A064425 prefixed by a 2.


LINKS



EXAMPLE

a(1)=2 because the least integer absent in EKG with 1 term, {1}, is 2;
a(2..4)=3 because the least integer absent in EKG with 4 terms, {1,2,4,6}, is 3;
a(5..9)=5 because the least integer absent in EKG with 9 terms, {1,2,4,6,3,9,12,8,10}, is 5;
a(10..13)=7 because the least integer absent in EKG with 15 terms, {1,2,4,6,3,9,12,8,10}, is 7.


CROSSREFS



KEYWORD

nonn


AUTHOR



EXTENSIONS



STATUS

approved



