login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A196000
Numbers k such that 90*k + 19 is prime.
21
0, 1, 2, 4, 8, 9, 10, 11, 14, 16, 17, 22, 23, 24, 25, 28, 30, 34, 35, 36, 39, 41, 43, 46, 48, 50, 53, 55, 56, 60, 63, 64, 65, 69, 74, 77, 78, 79, 80, 81, 83, 85, 86, 91, 93, 98, 99, 101, 102, 107, 108, 109, 111, 112, 115, 116
OFFSET
1,3
COMMENTS
A142322 is a digital root 1 and last digit 9 preserving sequence.
LINKS
FORMULA
a(n) = (A142322(n) - 19)/90.
MAPLE
A142322 := proc(n)
option remember;
if n = 1 then
19 ;
else
a := nextprime(procname(n-1)) ;
while (a mod 45) <> 19 do
a := nextprime(a) ;
end do;
return a;
end if;
end proc:
A196000 := proc(n)
(A142322(n)-19)/90 ;
end proc:
seq(A196000(n), n=1..80) ; # R. J. Mathar, Oct 31 2011
MATHEMATICA
Select[Range[0, 120], PrimeQ[90 # + 19] &] (* Ivan Neretin, Apr 27 2017 *)
PROG
(PARI) is(n)=isprime(90*n+19) \\ Charles R Greathouse IV, Apr 25 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
J. W. Helkenberg, Oct 27 2011
STATUS
approved