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!)
A128473 Numbers of the form 30*k+23 or numbers that cannot be part of a twin prime pair. 2

%I #28 Sep 08 2022 08:45:30

%S 23,53,83,113,143,173,203,233,263,293,323,353,383,413,443,473,503,533,

%T 563,593,623,653,683,713,743,773,803,833,863,893,923,953,983,1013,

%U 1043,1073,1103,1133,1163,1193,1223,1253,1283,1313,1343,1373,1403,1433,1463

%N Numbers of the form 30*k+23 or numbers that cannot be part of a twin prime pair.

%C 30*k + 23 -+ 2 is a multiple of 3 or 5 precluding it from being part of a twin prime pair.

%H Vincenzo Librandi, <a href="/A128473/b128473.txt">Table of n, a(n) for n = 1..1000</a>

%H Albert van der Horst, <a href="http://home.hccnet.nl/a.w.m.van.der.horst/hcc96.txt">Counting Twin Primes</a>

%H <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (3,-3,1).

%F From _Vincenzo Librandi_, Feb 15 2018: (Start)

%F G.f.: x*(23 + 7*x)/(1 - x)^2.

%F a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)

%t Range[23, 7000, 30] (* _Vladimir Joseph Stephan Orlovsky_, Jul 13 2011 *)

%t CoefficientList[Series[(23 + 7 x) / (1 - x)^2, {x, 0, 50}], x] (* _Vincenzo Librandi_, Feb 15 2018 *)

%t LinearRecurrence[{3,-3,1},{23,53,83},50] (* or *) NestList[#+30&,23,50] (* _Harvey P. Dale_, Sep 11 2019 *)

%o (PARI) g(n) = forstep(x=23,n,30,print1(x","))

%o (Magma) [30*n+23: n in [0..50]] /* or */ I:=[23,53,83]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..50]]; // _Vincenzo Librandi_, Feb 15 2018

%Y Subsequence of A110673.

%K nonn,easy

%O 1,1

%A _Cino Hilliard_, May 06 2007

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