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!)
A254897 Define a family of sequences as follows: a(1) and a(2) are prime numbers, then if a(n-2) and a(n-1) have the same parity a(n)=(a(n-2)+a(n-1))/2 and if not a(n)=a(n-2)/2+a(n-1) for a(n-2) even or a(n)=a(n-2)+a(n-1)/2 for a(n-1) even. Start the first sequence with the two smallest prime numbers 2 and 3; in general, start the next sequence with the two smallest prime numbers not present in all preceding sequences; the present sequence lists the initial term of all these sequences. 1
2, 19, 31, 59, 83, 107, 113, 149, 157, 181, 197, 229, 241, 263, 271, 307, 313, 331, 353, 367, 379, 389, 409, 431, 439, 457, 487, 499, 541, 569, 577, 593, 601, 617, 647, 661, 719, 733, 751, 809, 823, 853, 859, 877, 883, 911, 937, 953, 977, 997, 1019 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(1)=2, the first term of the sequence A254498.
a(2)=19, the first term of the sequence A254330.
a(3)=31, the smallest prime number not present in A254498 and A254330, and the next one is 37, 31 and 37 starts the third sequence define by the rule, and so on.
CROSSREFS
Sequence in context: A006962 A261312 A090819 * A059697 A103058 A161442
KEYWORD
nonn
AUTHOR
Pierre CAMI, Feb 10 2015
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 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)