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!)
A257482 Numbers m such that prime(m) mod 8 == prime(m) mod 27. 2
1, 2, 3, 4, 48, 84, 85, 119, 181, 211, 212, 213, 270, 296, 297, 326, 352, 353, 354, 378, 483, 484, 485, 513, 514, 539, 566, 591, 641, 665, 666, 691, 713, 739, 766, 790, 815, 816, 841, 864, 865, 890, 914, 936, 937, 960, 1007, 1029, 1054, 1055, 1076, 1077, 1104, 1105, 1151 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Numbers n such that A039706(n)= A242125(n).

8 and 27 are first two cubes > 1.

LINKS

Ivan Neretin, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = A000720(A257483(n)).

EXAMPLE

prime(48) = 223 = 7 (mod 8) == 7 mod(27).

MATHEMATICA

Select[Range@ 1000, Mod[Prime@ #, 8] == Mod[Prime@ #, 27] &] (* Michael De Vlieger, Apr 27 2015 *)

PROG

(MAGMA) [n: n in [1..1500] | NthPrime(n) mod 8 eq NthPrime(n) mod 27]; // Vincenzo Librandi, Apr 28 2015

(PARI) isok(n) = (prime(n) % 8) == (prime(n) % 27); \\ Michel Marcus, May 08 2017

CROSSREFS

Cf. A000720, A039706, A242125.

Sequence in context: A230452 A270478 A235495 * A023167 A177380 A282034

Adjacent sequences:  A257479 A257480 A257481 * A257483 A257484 A257485

KEYWORD

nonn

AUTHOR

Zak Seidov, Apr 26 2015

EXTENSIONS

More terms from Vincenzo Librandi, Apr 28 2015

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 5 07:25 EDT 2021. Contains 346464 sequences. (Running on oeis4.)