login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo

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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A177009 a(n) = n^n - A002275(n). 3
0, -7, -84, -855, -7986, -64455, -287568, 5666105, 276309378, 8888888889, 274200559500, 8804989337145, 301763995481142, 11100895714446905, 437782779269748264, 18445632962598440505, 827229150775225653066 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

20^20-11111111111111111111=104857588888888888888888889 is the only known prime term of this sequence. Next such prime has more than 40000 digits (n>10000)!

LINKS

Robert Israel, Table of n, a(n) for n = 1..386

FORMULA

a(n) = n^n - (10^n-1)/9. - Robert Israel, Oct 23 2016

EXAMPLE

a(2) = 2^2-11 = -7, a(8) = 8^8-11111111 = 5666105.

MAPLE

seq(n^n - (10^n-1)/9. n=1..20); # Robert Israel, Oct 23 2016

MATHEMATICA

Table[n^n - (10^n - 1)/9, {n, 17}]

CROSSREFS

Cf. A000312, A002275, A177010.

Sequence in context: A027819 A269895 A272496 * A099674 A067413 A166178

Adjacent sequences: A177006 A177007 A177008 * A177010 A177011 A177012

KEYWORD

easy,sign,base

AUTHOR

Ali Heydarian (mymontain(AT)yahoo.com), May 13 2010

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 November 27 06:50 EST 2022. Contains 358362 sequences. (Running on oeis4.)