login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A269705 Numbers k such that prime(k) == 1 (mod 9). 1
8, 12, 21, 29, 31, 38, 42, 46, 58, 63, 75, 78, 84, 93, 99, 100, 106, 112, 115, 131, 134, 141, 145, 153, 157, 159, 167, 169, 179, 187, 191, 193, 207, 211, 224, 232, 242, 244, 247, 257, 260, 264, 272, 276, 279, 287, 303, 306, 310, 316, 324, 326, 327, 335, 337 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is 1/6 (by Dirichlet's theorem). - Amiram Eldar, Mar 02 2021
LINKS
EXAMPLE
a(1) = 8 because prime(8) = 19 and 19 == 1 (mod 9).
MATHEMATICA
Select[Range[400], Mod[Prime[#], 9] == 1 &]
PROG
(Magma) [n: n in [1..500] | NthPrime(n) mod 9 eq 1];
(PARI) lista(nn) = for(n=1, nn, if(Mod(prime(n), 9)==1, print1(n, ", "))); \\ Altug Alkan, Mar 04 2016
CROSSREFS
The associated primes are in A061237.
Cf. similar sequences listed in A269703.
Sequence in context: A350615 A300065 A072902 * A189322 A105571 A350633
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Mar 04 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 09:59 EDT 2024. Contains 371268 sequences. (Running on oeis4.)