editing
approved
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”).
editing
approved
For n > 2, a(n) is in {1, 3, 7, 9}.
a(n) = prime(n)#/10 mod 10 for n > 2. - Charles R Greathouse IV, Dec 03 2024
(PARI) a(n)=if(n<3, return([1, 2, 6][n+1])); my(m=Mod(3, 10)); forprime(p=7, prime(n), m*=p); lift(m) \\ Charles R Greathouse IV, Dec 03 2024
approved
editing
editing
approved
_Robert G. Wilson v (rgwv(AT)rgwv.com), _, Jul 28 2000
<a href="/Sindx_index/Fi.html#final">Index entries for sequences related to final digits of numbers</a>
<a href="/Sindx_Fi.html#final">Index entries for sequences related to final digits of numbers</a>
easy,nonn,base,new
<a href="http://www.research.att.com/~njas/sequences/Sindx_Fi.html#final">Index entries for sequences related to final digits of numbers</a>
easy,nonn,base,new
easy,nonn,newbase
Final non-zero nonzero digit of n-th primorial.
easy,nonn,new