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!)
A110194 First differences of A110095 (least nonprime sequence whose first differences are nonprime). 1
1, 8, 1, 4, 1, 1, 4, 1, 1, 4, 1, 1, 4, 1, 1, 1, 1, 4, 4, 1, 1, 4, 1, 1, 4, 1, 1, 4, 1, 1, 1, 1, 4, 4, 1, 1, 1, 1, 4, 4, 1, 1, 4, 1, 1, 1, 1, 4, 4, 1, 1, 4, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 1, 1, 4, 1, 1, 1, 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 4, 1, 1, 4, 4, 1, 1, 4, 1, 1, 4, 1 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Conjecture: from a(5) on, are there only substrings <1 1 4> and <1 1 1 1 4 4 >?
LINKS
EXAMPLE
Beginning with 1, we have to add 8 in order to get the first nonprime number (all other numbers <8 are prime or giving a prime). So 1+8=9 for a(2).
Then add 1=10 for a(3).
Then add (not 1 because 11 is prime; nor 2 and 3 because they are prime) ...add 4=14 for a(4), etc.
PROG
(PARI) lista(nn) = my(va = vector(nn), last=0); for (n=1, nn, my(new = last+1); while(isprime(new) || isprime(new-last), new++); va[n] = new-last; last = new; ); va; \\ Michel Marcus, Aug 09 2022
CROSSREFS
Cf. A110095 and twin-primes related sequences.
Sequence in context: A140457 A358286 A176457 * A199283 A079359 A010156
KEYWORD
easy,nonn
AUTHOR
EXTENSIONS
More terms from Michel Marcus, Aug 09 2022
STATUS
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 April 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)