login
A135684
a(n)=11 if n is a prime number. Otherwise, a(n)=n.
2
1, 11, 11, 4, 11, 6, 11, 8, 9, 10, 11, 12, 11, 14, 15, 16, 11, 18, 11, 20, 21, 22, 11, 24, 25, 26, 27, 28, 11, 30, 11, 32, 33, 34, 35, 36, 11, 38, 39, 40, 11, 42, 11, 44, 45, 46, 11, 48, 49, 50, 51, 52, 11, 54, 55, 56, 57, 58, 11
OFFSET
1,2
LINKS
MATHEMATICA
Table[If[PrimeQ[n], 11, n], {n, 70}] (* Vincenzo Librandi, Feb 22 2013 *)
PROG
(Magma) [IsPrime(n) select 11 else n: n in [1..70]]; // Vincenzo Librandi, Feb 22 2013
KEYWORD
nonn,easy
AUTHOR
Mohammad K. Azarian, Dec 01 2007
STATUS
approved