[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 A275108 (Underlined text is an addition; strikethrough text is a deletion.)

Showing entries 1-10 | older changes
A275108 Record gaps between numbers that are either primes or semiprimes.
(history; published version)
#30 by Susanna Cuyler at Sat Apr 25 08:43:29 EDT 2020
STATUS

proposed

approved

#29 by Giovanni Resta at Sat Apr 25 06:33:19 EDT 2020
STATUS

editing

proposed

#28 by Giovanni Resta at Sat Apr 25 06:29:55 EDT 2020
DATA

1, 2, 3, 4, 6, 10, 11, 12, 16, 18, 19, 22, 24, 25, 26, 30, 32, 34, 36, 40, 42, 44, 51, 56, 64, 66, 70, 71, 78, 81, 85, 86, 91, 106, 110, 112, 128

EXTENSIONS

a(32)-a(37) from Giovanni Resta, Apr 25 2020

STATUS

approved

editing

#27 by Charles R Greathouse IV at Sat Nov 19 11:53:17 EST 2016
STATUS

editing

approved

#26 by Charles R Greathouse IV at Sat Nov 19 11:52:20 EST 2016
PROG

(PARI) checkrange(a, b, r)=while(b-a>r, forstep(n=a+r, a+1, -1, if(bigomega(n)<3, a=n; next(2))); for(n=a+r+1, b, if(bigomega(n)<3, return([a, n])))); 0

print1(1); p=5; r=1; forprime(q=7, 1e9, if(q-p<=r, p=q; next); t=checkrange(p, q, r); while(t, print1(", "t[2]-t[1]); t=checkrange(t[2], q, r=t[2]-t[1])); p=q) \\ Charles R Greathouse IV, Nov 19 2016

STATUS

proposed

editing

Discussion
Sat Nov 19 11:53
Charles R Greathouse IV: I added a program. Practically speaking it suffices to generate either A275013 or A275014 from which the other two sequences can be generated quickly.
#25 by Bobby Jacobs at Sat Nov 19 07:25:58 EST 2016
STATUS

editing

proposed

Discussion
Sat Nov 19 07:27
Bobby Jacobs: I did not use a program for this. I mentally subtracted the terms of A275013 and A275014.
07:47
Michel Marcus: Again, it would be better to use a program; you could use pari or magma that are free;
#24 by Joerg Arndt at Sat Nov 19 03:08:53 EST 2016
STATUS

proposed

editing

#23 by Bobby Jacobs at Mon Nov 14 08:18:02 EST 2016
STATUS

editing

proposed

Discussion
Sat Nov 19 03:08
Joerg Arndt: Please add a program.
#22 by Bobby Jacobs at Mon Nov 14 08:17:59 EST 2016
CROSSREFS

Cf. A037143, A111087, A275013, A275014.

STATUS

proposed

editing

#21 by Bobby Jacobs at Sun Nov 13 17:29:37 EST 2016
STATUS

editing

proposed

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 29 11:15 EDT 2024. Contains 375512 sequences. (Running on oeis4.)