login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A080089 Let r+i*s be the sum of the first-quadrant Gaussian primes dividing prime(n); sequence gives s values. 4
2, 0, 3, 0, 0, 5, 5, 0, 0, 7, 0, 7, 9, 0, 0, 9, 0, 11, 0, 0, 11, 0, 0, 13, 13, 11, 0, 0, 13, 15, 0, 0, 15, 0, 17, 0, 17, 0, 0, 15, 0, 19, 0, 19, 15, 0, 0, 0, 0, 17, 21, 0, 19, 0, 17, 0, 23, 0, 23, 21, 0, 19, 0, 0, 25, 25, 0, 25, 0, 23, 25, 0, 0, 25, 0, 0, 27, 25, 21, 23, 0, 29, 0, 29, 0, 0, 27, 25 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Amiram Eldar, Table of n, a(n) for n = 1..10000

MATHEMATICA

s[n_] := Module[{f = FactorInteger[n, GaussianIntegers->True]}, p = f[[;; , 1]]; e = f[[;; , 2]]; Im[Plus @@ ((If[Abs[#]==1, 0, #]& /@ p) * e)]]; s /@ Select[ Range[100], PrimeQ] (* Amiram Eldar, Feb 28 2020 *)

CROSSREFS

Cf. A078908, A078909, A080088.

Sequence in context: A102390 A127640 A113303 * A322841 A291044 A113290

Adjacent sequences:  A080086 A080087 A080088 * A080090 A080091 A080092

KEYWORD

nonn

AUTHOR

Vladeta Jovovic, Jan 27 2003

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 8 08:27 EDT 2020. Contains 336293 sequences. (Running on oeis4.)