Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A122567
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A122567 Twin primes modulo 4. +0
1
3, 1, 3, 3, 1, 1, 3, 1, 3, 1, 3, 3, 1, 3, 1, 1, 3, 3, 1, 1, 3, 1, 3, 3, 1, 3, 1, 1, 3, 3, 1, 3, 1, 1, 3, 1, 3, 3, 1, 3, 1, 3, 1, 3, 1, 1, 3, 1, 3, 1, 3, 3, 1, 1, 3, 1, 3, 3, 1, 1, 3, 1, 3, 3, 1, 1, 3, 1, 3, 3, 1, 3, 1, 1, 3, 1, 3, 3, 1, 3, 1, 1, 3, 1, 3, 1, 3, 1, 3, 3, 1, 3, 1, 3, 1, 1, 3, 3, 1, 3, 1, 3, 1, 3, 1 (list; graph; listen)
OFFSET

1,1

EXAMPLE

The twin primes are 3,5,7,11,13,17,19,... and mod 4 is 3,1,3,3,1,1,3...

MAPLE

a[1]:=3:i:=2:for k from 5 to 3000 do if isprime(k) and isprime(k+2) then a[i]:=k mod 4:a[i+1]:=k+2 mod 4: i:=i+2 fi od: seq(a[n], n=1..i-1);

CROSSREFS

Cf. A001097.

Sequence in context: A112164 A075676 A124814 this_sequence A122431 A089607 A050141

Adjacent sequences: A122564 A122565 A122566 this_sequence A122568 A122569 A122570

KEYWORD

nonn

AUTHOR

Miklos Kristof (kristmikl(AT)freemail.hu), Sep 21 2006

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 November 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research