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!)
A088265 Numbers of the form 10^n + 1, 3, 7, or 9 for n>=1. 3
11, 13, 17, 19, 101, 103, 107, 109, 1001, 1003, 1007, 1009, 10001, 10003, 10007, 10009, 100001, 100003, 100007, 100009, 1000001, 1000003, 1000007, 1000009, 10000001, 10000003, 10000007, 10000009, 100000001, 100000003, 100000007, 100000009, 1000000001, 1000000003, 1000000007, 1000000009 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A 10-automatic sequence: terms match the regular expression 10*[1379]. - Charles R Greathouse IV, Oct 15 2012
Primes in the sequence are at positions 1 to 8, 12, 15, 16, 18, 22, 31, 35, 36, 42, 66, 70, 72, 88, 95,... R. J. Mathar, Oct 16 2012
LINKS
FORMULA
a(4n+r) = 10^(n+1) + k, (r, k) = (1, 1), (2, 3), (3, 7) or (4, 9).
G.f. -x*(-11-13*x-17*x^2-19*x^3+20*x^4+40*x^5+80*x^6+100*x^7) / ( (x-1)*(1+x)*(1+x^2)*(10*x^4-1) ). a(n)= 11*a(n-4) -10*a(n-8). - R. J. Mathar, Oct 16 2012
MAPLE
A088265 := proc(n)
if n <=8 then
op(n, [11, 13, 17, 19, 101, 103, 107, 109]) ;
else
11*procname(n-4)-10*procname(n-8) ;
end if;
end proc: # R. J. Mathar, Oct 16 2012
MATHEMATICA
Flatten @ Table[10^n + m, {n, 50}, {m, {1, 3, 7, 9}}]. (* Mikk Heidemaa, Mar 06 2020 *)
PROG
(PARI) A088265(n)=10^((n+3)\4)+[9, 1, 3, 7][n%4+1] \\ M. F. Hasler, Oct 15 2012
CROSSREFS
Sequence in context: A306661 A045707 A032591 * A356987 A327348 A327349
KEYWORD
base,nonn,easy
AUTHOR
Amarnath Murthy, Sep 28 2003
EXTENSIONS
More terms from Max Alekseyev, Oct 14 2012
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 23 05:37 EDT 2024. Contains 371906 sequences. (Running on oeis4.)