login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080148 Positions of 4k+3 primes A002145 among all primes A000040. 7
2, 4, 5, 8, 9, 11, 14, 15, 17, 19, 20, 22, 23, 27, 28, 31, 32, 34, 36, 38, 39, 41, 43, 46, 47, 48, 49, 52, 54, 56, 58, 61, 63, 64, 67, 69, 72, 73, 75, 76, 81, 83, 85, 86, 90, 91, 92, 93, 94, 95, 96, 99, 101, 103, 105, 107, 109, 111, 114, 115, 117, 118, 120, 124, 125, 128 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

It appears that a(n) = k such that binomial(ithprime(k),3) mod 2 = 1. See Maple code. [From Gary Detlefs, Dec 06 2011]

The above is correct (work mod 4). [Charles R Greathouse IV, Dec 06 2011]

LINKS

Moshe Levin, Table of n, a(n) for n = 1..10000

FORMULA

a(n)=A049084(A002145(n)). [From R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 06 2008]

MAPLE

pos_of_primes_k_mod_n(300, 3, 4); # Given in A080147.

A080148 := proc(n)

        numtheory[pi](A002145(n)) ;

end proc:

seq(A080148(n), n=1..40) ; # R. J. Mathar, Dec 08 2011

MATHEMATICA

Flatten[Position[Prime[Range[200]], _?(IntegerQ[(#-3)/4]&)]] (* From Harvey P. Dale, Jun 06 2011 *)

PROG

(PARI) i=0; forprime(p=2, 1e3, i++; if(p%4==3, print1(i", "))) \\ Charles R Greathouse IV, Dec 06 2011

CROSSREFS

Almost complement of A080147. (One is excluded from both).

Sequence in context: A118179 A096603 A084464 * A032787 A067366 A099628

Adjacent sequences:  A080145 A080146 A080147 * A080149 A080150 A080151

KEYWORD

nonn

AUTHOR

Antti Karttunen (my_firstname.my_surname(AT)iki.fi) Feb 11 2003

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 13 23:23 EST 2012. Contains 205567 sequences.