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!)
A070884 7 + x where x is congruent to {0, 4, 6, 10, 12, 16, 22, 24} mod 30. 1

%I #5 Sep 22 2016 16:34:22

%S 7,11,13,17,19,23,29,31,37,41,43,47,49,53,59,61,67,71,73,77,79,83,89,

%T 91,97,101,103,107,109,113,119,121,127,131,133,137,139,143,149,151,

%U 157,161,163,167,169,173,179,181,187,191,193,197,199,203,209,211,217,221

%N 7 + x where x is congruent to {0, 4, 6, 10, 12, 16, 22, 24} mod 30.

%C Sequence contains many primes.

%C A007775 without the first term. Strictly speaking, the sequence should include the 1, because 1=7-6 and -6 = 24 mod 30. [From _R. J. Mathar_, Sep 25 2008]

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

%F G.f.: ( 7+4*x+2*x^2+4*x^3+2*x^4+4*x^5+6*x^6+2*x^7-x^8 ) / ( (1+x)*(x^2+1)*(x^4+1)*(x-1)^2 ). - _R. J. Mathar_, Sep 22 2016

%e 7+0=7, 7+4=11, 7+6=13, 7+10=17, 7+12=19, 7+16=23, ...

%o (Perl) $a = 0; while ((($a % 30 == 0 or $a % 30 == 4 or $a % 30 == 6 or $a % 30 == 10 or $a % 30 == 12 or $a % 30 == 16 or $a % 30 == 22 or $a % 30 == 24) and eval("print \"\".(7+\$a).\" \"; return 0;")) or ++$a) { }

%K easy,nonn

%O 0,1

%A Timothy McAlee Sr., May 24 2002

%E More terms from Jim McCann (jmccann(AT)umich.edu), Jul 17 2002

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 19 01:59 EDT 2024. Contains 371782 sequences. (Running on oeis4.)