Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A145993
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A145993 Starting prime: consecutive runs >1 of primes where p/4=3 +0
8
7, 19, 43, 67, 79, 103, 127, 163, 199, 307, 359, 379, 439, 463, 643, 683, 719, 739, 823, 859, 883, 967, 983, 1087, 1163, 1279, 1303, 1423, 1439, 1459, 1483, 1499, 1559, 1663, 1783, 1811, 1867, 1979, 1999, 2083, 2099, 2179, 2239, 2347, 2399, 2447, 2531, 2579 (list; graph; listen)
OFFSET

1,1

REFERENCES

Enoch Haga, Exploring Primes on Your PC and the Internet, 1994-2007. Pp. 30-31. ISBN 978-1-885794-24-6

EXAMPLE

a(1)=7 because this sequence includes consecutive runs of any length and this first term >1 in a run of 2 is 7.

PROGRAM

(Other) UBASIC: 10 'cluster primes 20 C=1 30 input "end #"; L 40 for N=3 to L step 2 50 S=int(sqrt(N)) 60 for A=3 to S step 2 70 B=N/A 80 if int(B)*A=N then cancel for:goto 170 90 next A 100 C=C+1 110 E=N/4:E=int(E):R=N-(4*E) 120 if R=1 then print N; :C1=C1+1:T1=T1+1:print T1 130 if R=3 then T1=0 140 if R=3 then print " "; N; :C3=C3+1:T2=T2+1:print T2 150 if R=1 then T2=0 160 if T1>10 or T2>10 then stop 170 next 180 print "Total primes="; C; :print "Type A"; C1; "Type B"; C3

CROSSREFS

A055623 A054624 A145986 A145988 A145989 A145990 A145991 A145992 A145994

Sequence in context: A002177 A141193 A104163 this_sequence A054690 A054691 A139828

Adjacent sequences: A145990 A145991 A145992 this_sequence A145994 A145995 A145996

KEYWORD

easy,nonn

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), Oct 26 2008

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified December 2 11:54 EST 2009. Contains 167921 sequences.


AT&T Labs Research