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!)
A004684 Primes written in base 11. (Next term contains a nondecimal character.) 5
2, 3, 5, 7, 10, 12, 16, 18, 21, 27, 29, 34, 38 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Jianing Song, Table of n, a(n) for n = 1..1000 (using A to represent 10)
MATHEMATICA
FromDigits /@ TakeWhile[Array[IntegerDigits[Prime@ #, 11] &, 15], NoneTrue[#, # > 9 &] &] (* Michael De Vlieger, Nov 25 2018 *)
PROG
(PARI) a(n)=subst(Pol(digits(prime(n), 11)), 'x, 10) \\ Charles R Greathouse IV, Nov 06 2013
(PARI) a(n) = my(d=digits(prime(n), 11)); my(s="", x); for(i=1, #d, if(d[i]<10, x = d[i], x = "A"); s = concat(s, x)); eval(s);
for(n=1, 30, print1(a(n), ", ")) \\ Michel Marcus, Nov 25 2018
CROSSREFS
Sequence in context: A191892 A087539 A140690 * A350102 A036607 A211520
KEYWORD
nonn,easy,base
AUTHOR
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 April 28 21:55 EDT 2024. Contains 372095 sequences. (Running on oeis4.)