login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A267781 Expansion of (x*(-14x^6-32x^5+16x^4+30x^3-x+14)+17)/((x-1)^2*(x+1)). 0
17, 31, 47, 61, 107, 137, 151, 167, 181, 197, 211, 227, 241, 257, 271, 287, 301, 317, 331, 347, 361, 377, 391, 407, 421, 437, 451, 467, 481, 497, 511, 527, 541, 557, 571, 587, 601, 617, 631, 647, 661, 677, 691, 707, 721, 737, 751, 767, 781, 797, 811, 827, 841, 857, 871, 887, 901, 917, 931, 947, 961, 977, 991, 1007 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The terms which are primes are the same (p mod 3 = p mod 5) as in A267540 (starting from a(2)=17, their correspondence is verified up to 150000047).

Primes here frequently also have regular intervals and occur mostly in short blocks (consisting 2-4 primes) rather than singletons, but some blocks can be much longer (e.g., a(1)...a(15) and a(33)...a(43)).

LINKS

Table of n, a(n) for n=1..64.

FORMULA

a(n) = (30*n-(-1)^n+123)/2 for n>4. - Colin Barker, Jan 21 2016

MATHEMATICA

CoefficientList[ Series[(x*(-14x^6 - 32x^5 + 16x^4 + 30x^3 - x + 14) + 17)/((x - 1)^2*(x + 1)), {x, 0, 63}], x] (* Michael De Vlieger, Jan 21 2016 *)(* Or *)

Flatten @Prepend[ Table[(30*n - (-1)^n + 123)/2, {n, 5, 1000}], {17, 31, 47, 61, 107}](* Efficient. Mikk Heidemaa, Jan 21 2016 *)

PROG

(PARI) Vec((x*(-14*x^6-32*x^5+16*x^4+30*x^3-x+14)+17)/((x-1)^2*(x+1)) + O(x^80)) \\ Michel Marcus, Jan 20 2016

CROSSREFS

Cf. A063118, A267540.

Sequence in context: A321596 A160961 A260805 * A270441 A256374 A286512

Adjacent sequences:  A267778 A267779 A267780 * A267782 A267783 A267784

KEYWORD

nonn,easy

AUTHOR

Mikk Heidemaa, Jan 20 2016

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 07:26 EDT 2020. Contains 337166 sequences. (Running on oeis4.)