LINKS
Eric Weisstein's World of Mathematics, <a href="httphttps://mathworld.wolfram.com/SmarandacheSequences.html">Smarandache Sequences</a>
Eric Weisstein's World of Mathematics, <a href="httphttps://mathworld.wolfram.com/SmarandacheSequences.html">Smarandache Sequences</a>
(MAGMAMagma) [(10^p-1)/9: p in PrimesUpTo(40)]; // Vincenzo Librandi, May 29 2014
reviewed
approved
proposed
reviewed
editing
proposed
a(n) = (10^prime(n) - 1)/9. - Vincenzo Librandi, May 29 2014
f:=n->(10^ithprime(n)-1)/9; [seq(f(n), n=1..20)]; # From __N. J. A. Sloane_, Dec 05 2012
More terms from Erich Friedman.
approved
editing
proposed
approved
editing
proposed
If p is a prime and gcd(p,b-1)=1, then (b^p-1)/(b-1) == 1 (mod p); by Fermat's little theorem. For example 1111111 == 1 (mod 7). - Thomas Ordowski, Apr 09 2016
approved
editing
reviewed
approved